当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
StateManager (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
org.jboss.aspects.versioned
Class StateManager
java.lang.Object
org.jboss.aspects.versioned.StateManager
- All Implemented Interfaces:
- Externalizable, Serializable
- Direct Known Subclasses:
- CollectionStateManager, DistributedPOJOState
- public abstract class StateManager
- extends Object
- implements Externalizable
- Version:
- $Revision: 1.1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
Field Summary |
protected org.jboss.util.id.GUID |
guid
|
protected EDU.oswego.cs.dl.util.concurrent.ReadWriteLock |
lock
|
protected static org.jboss.logging.Logger |
log
|
static String |
STATE_MANAGER
|
protected long |
timeout
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATE_MANAGER
public static final String STATE_MANAGER
- See Also:
- Constant Field Values
log
protected static org.jboss.logging.Logger log
guid
protected org.jboss.util.id.GUID guid
timeout
protected long timeout
lock
protected transient EDU.oswego.cs.dl.util.concurrent.ReadWriteLock lock
StateManager
public StateManager()
StateManager
public StateManager(org.jboss.util.id.GUID guid,
long timeout)
getStateManager
public static StateManager getStateManager(org.jboss.aop.InstanceAdvised obj)
setStateManager
public static void setStateManager(org.jboss.aop.InstanceAdvised obj,
StateManager manager)
getLock
public EDU.oswego.cs.dl.util.concurrent.ReadWriteLock getLock()
getGUID
public org.jboss.util.id.GUID getGUID()
acquireWriteLock
public void acquireWriteLock()
acquireReadLock
public void acquireReadLock()
releaseReadLock
public void releaseReadLock()
releaseWriteLock
public void releaseWriteLock()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.