当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
DistributedPOJOState (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
org.jboss.aspects.versioned
Class DistributedPOJOState
java.lang.Object
org.jboss.aspects.versioned.StateManager
org.jboss.aspects.versioned.DistributedPOJOState
- All Implemented Interfaces:
- DistributedState, Externalizable, Serializable
- public class DistributedPOJOState
- extends StateManager
- implements DistributedState, Externalizable
- Version:
- $Revision: 1.2 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
classname
protected String classname
fieldMap
protected HashMap fieldMap
tm
protected transient TransactionManager tm
advised
protected transient org.jboss.aop.Advised advised
txState
protected transient org.jboss.tm.TransactionLocal txState
synchManager
protected transient SynchronizationManager synchManager
versionManager
protected transient DistributedVersionManager versionManager
DistributedPOJOState
public DistributedPOJOState()
DistributedPOJOState
public DistributedPOJOState(org.jboss.util.id.GUID daguid,
long datimeout,
org.jboss.aop.Advised advised,
DistributedVersionManager versionManager,
SynchronizationManager synchManager)
throws Exception
getObject
public org.jboss.aop.InstanceAdvised getObject()
- Specified by:
getObject
in interface DistributedState
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
buildObject
public org.jboss.aop.InstanceAdvised buildObject(SynchronizationManager manager,
DistributedVersionManager versionManager)
throws Exception
- Specified by:
buildObject
in interface DistributedState
- Throws:
Exception
getTxState
public HashMap getTxState()
getTxState
public HashMap getTxState(Transaction tx)
fieldRead
public Object fieldRead(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Throws:
Throwable
fieldWrite
public Object fieldWrite(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Throws:
Throwable
createTxUpdate
public DistributedUpdate createTxUpdate(Transaction tx)
- Specified by:
createTxUpdate
in interface DistributedState
checkOptimisticLock
public void checkOptimisticLock(Transaction tx)
- Specified by:
checkOptimisticLock
in interface DistributedState
mergeState
public void mergeState(Transaction tx)
throws Exception
- Specified by:
mergeState
in interface DistributedState
- Throws:
Exception
mergeState
public void mergeState(DistributedUpdate update)
throws Exception
- Specified by:
mergeState
in interface DistributedState
- Throws:
Exception
mergeState
public void mergeState(HashMap newState)
throws Exception
- Throws:
Exception
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class StateManager
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class StateManager
- Throws:
IOException
ClassNotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.