当前页面: 
在线文档首页 > 
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.StateManager
       org.jboss.aspects.versioned.DistributedPOJOState
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:
- getObjectin 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:
- buildObjectin 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:
- createTxUpdatein interface- DistributedState
 
- 
 
checkOptimisticLock
public void checkOptimisticLock(Transaction tx)
- 
- Specified by:
- checkOptimisticLockin interface- DistributedState
 
- 
 
mergeState
public void mergeState(Transaction tx)
                throws Exception
- 
- Specified by:
- mergeStatein interface- DistributedState
 
- 
- Throws:
- Exception
 
mergeState
public void mergeState(DistributedUpdate update)
                throws Exception
- 
- Specified by:
- mergeStatein interface- DistributedState
 
- 
- Throws:
- Exception
 
mergeState
public void mergeState(HashMap newState)
                throws Exception
- 
 
- 
- Throws:
- Exception
 
writeExternal
public void writeExternal(ObjectOutput out)
                   throws IOException
- 
- Specified by:
- writeExternalin interface- Externalizable
- Overrides:
- writeExternalin class- StateManager
 
- 
- Throws:
- IOException
 
readExternal
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
- 
- Specified by:
- readExternalin interface- Externalizable
- Overrides:
- readExternalin class- StateManager
 
- 
- Throws:
- IOException
- ClassNotFoundException
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.