当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
DistributedListState (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
org.jboss.aspects.versioned
Class DistributedListState
java.lang.Object
   org.jboss.aspects.versioned.StateManager
org.jboss.aspects.versioned.StateManager
       org.jboss.aspects.versioned.CollectionStateManager
org.jboss.aspects.versioned.CollectionStateManager
           org.jboss.aspects.versioned.DistributedListState
org.jboss.aspects.versioned.DistributedListState
- All Implemented Interfaces: 
- Collection, DistributedState, Externalizable, List, Serializable
- public class DistributedListState- extends CollectionStateManager- implements List, DistributedState, Externalizable
- Version:
- $Revision: 1.1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
 
 
 
 
 
 
 
 
 
log
protected static org.jboss.logging.Logger log
versionId
protected volatile long versionId
updates
protected ArrayList updates
classname
protected String classname
base
protected transient List base
txState
protected transient org.jboss.tm.TransactionLocal txState
txVersion
protected transient org.jboss.tm.TransactionLocal txVersion
versionManager
protected transient DistributedVersionManager versionManager
synchManager
protected transient SynchronizationManager synchManager
tm
protected transient TransactionManager tm
proxy
protected transient org.jboss.aop.proxy.ClassProxy proxy
DistributedListState
public DistributedListState()
- For serialization
 
DistributedListState
public DistributedListState(org.jboss.util.id.GUID guid,
                            long timeout,
                            org.jboss.aop.proxy.ClassProxy proxy,
                            List obj,
                            DistributedVersionManager versionManager,
                            SynchronizationManager synchManager)
                     throws Exception
getMethodMap
public HashMap getMethodMap()
- 
- Specified by:
- getMethodMapin class- CollectionStateManager
 
- 
 
getObject
public org.jboss.aop.InstanceAdvised getObject()
- 
- Specified by:
- getObjectin interface- DistributedState
 
- 
 
getCurrentState
protected List getCurrentState(boolean forUpdate)
                        throws Exception
- 
 
- 
- Throws:
- Exception
 
createListUpdates
protected ArrayList createListUpdates(List state)
- 
 
- 
 
createTxUpdate
public DistributedUpdate createTxUpdate(Transaction tx)
- 
- Specified by:
- createTxUpdatein interface- DistributedState
 
- 
 
buildObject
public org.jboss.aop.InstanceAdvised buildObject(SynchronizationManager manager,
                                                 DistributedVersionManager versionManager)
                                          throws Exception
- 
- Specified by:
- buildObjectin interface- DistributedState
 
- 
- Throws:
- Exception
 
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
 
add
public boolean add(Object val)
- 
- Specified by:
- addin interface- List
 
- 
 
add
public void add(int index,
                Object val)
- 
- Specified by:
- addin interface- List
 
- 
 
addAll
public boolean addAll(Collection c)
- 
- Specified by:
- addAllin interface- List
 
- 
 
addAll
public boolean addAll(int index,
                      Collection c)
- 
- Specified by:
- addAllin interface- List
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- List
 
- 
 
contains
public boolean contains(Object o)
- 
- Specified by:
- containsin interface- List
 
- 
 
containsAll
public boolean containsAll(Collection c)
- 
- Specified by:
- containsAllin interface- List
 
- 
 
equals
public boolean equals(Object o)
- 
- Specified by:
- equalsin interface- List
 
- 
 
get
public Object get(int i)
- 
- Specified by:
- getin interface- List
 
- 
 
hashCode
public int hashCode()
- 
- Specified by:
- hashCodein interface- List
 
- 
 
indexOf
public int indexOf(Object o)
- 
- Specified by:
- indexOfin interface- List
 
- 
 
isEmpty
public boolean isEmpty()
- 
- Specified by:
- isEmptyin interface- List
 
- 
 
iterator
public Iterator iterator()
- 
- Specified by:
- iteratorin interface- List
 
- 
 
lastIndexOf
public int lastIndexOf(Object o)
- 
- Specified by:
- lastIndexOfin interface- List
 
- 
 
listIterator
public ListIterator listIterator()
- 
- Specified by:
- listIteratorin interface- List
 
- 
 
listIterator
public ListIterator listIterator(int index)
- 
- Specified by:
- listIteratorin interface- List
 
- 
 
remove
public Object remove(int index)
- 
- Specified by:
- removein interface- List
 
- 
 
remove
public boolean remove(Object o)
- 
- Specified by:
- removein interface- List
 
- 
 
removeAll
public boolean removeAll(Collection c)
- 
- Specified by:
- removeAllin interface- List
 
- 
 
retainAll
public boolean retainAll(Collection c)
- 
- Specified by:
- retainAllin interface- List
 
- 
 
set
public Object set(int index,
                  Object element)
- 
- Specified by:
- setin interface- List
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- List
 
- 
 
subList
public List subList(int fromIndex,
                    int toIndex)
- 
- Specified by:
- subListin interface- List
 
- 
 
toArray
public Object[] toArray()
- 
- Specified by:
- toArrayin interface- List
 
- 
 
toArray
public Object[] toArray(Object[] a)
- 
- Specified by:
- toArrayin interface- List
 
- 
 
writeExternal
public void writeExternal(ObjectOutput out)
                   throws IOException
- 
- Specified by:
- writeExternalin interface- Externalizable
- Overrides:
- writeExternalin class- CollectionStateManager
 
- 
- Throws:
- IOException
 
readExternal
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
- 
- Specified by:
- readExternalin interface- Externalizable
- Overrides:
- readExternalin class- CollectionStateManager
 
- 
- Throws:
- IOException
- ClassNotFoundException
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.