站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

AbstractPassivationJob (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins
Class AbstractPassivationJob

java.lang.Object
  extended byorg.jboss.ejb.plugins.AbstractPassivationJob
All Implemented Interfaces:
org.jboss.util.Executable

public abstract class AbstractPassivationJob
extends Object
implements org.jboss.util.Executable

Abstract class for passivation jobs. Subclasses should implement Executable.execute() synchronizing it in some way because the execute method is normally called in the passivation thread, while the cancel method is normally called from another thread. To avoid that subclasses override methods of this class without make them synchronized (except execute of course), they're declared final.

Version:
$Revision: 1.1 $
Author:
Simone Bordet, Scott.Stark@jboss.org

Field Summary
protected  EnterpriseContext ctx
           
protected  boolean isCancelled
           
protected  boolean isExecuted
           
protected  Object key
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.util.Executable
execute
 

Field Detail

ctx

protected EnterpriseContext ctx

key

protected Object key

isCancelled

protected boolean isCancelled

isExecuted

protected boolean isExecuted


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.