|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.container.batch.impl.TransactionContainerImpl
A reference implementation of a TransactionContainer.
Supported API: false
Extendable: false
Field Summary | |
private Vector |
assertions
|
private com.objectspace.jgl.HashMap |
batchContainerMap
|
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from interface wt.container.batch.TransactionContainer |
ASSERTIONS, BATCH_CONTAINER_MAP |
Constructor Summary | |
TransactionContainerImpl()
Supported API: false |
Method Summary | |
boolean |
addAssertion(Assertion assertion)
Supported API: false |
boolean |
addBatchContainer(String name,
BatchContainer batchContainer)
Supported API: false |
boolean |
clearAll()
Supported API: false |
Enumeration |
getAssertions()
Supported API: false |
Enumeration |
getAssertionTargets()
Return the set of assertion targets. |
BatchContainer |
getBatchContainer(String name)
Supported API: false |
Enumeration |
getBatchContainerNames()
Supported API: false |
Enumeration |
getBatchContainers()
Supported API: false |
private Assertion |
getLastAssertion(BatchContainer container,
Object target)
Return the last assertion for the container and target object. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(TransactionContainerImpl thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
boolean |
setTransactionResults(TransactionResult[] results)
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private com.objectspace.jgl.HashMap batchContainerMap
private Vector assertions
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public TransactionContainerImpl()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(TransactionContainerImpl thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public boolean addBatchContainer(String name, BatchContainer batchContainer)
addBatchContainer
in interface TransactionContainer
name
- batchContainer
-
public Enumeration getBatchContainers()
getBatchContainers
in interface TransactionContainer
public Enumeration getBatchContainerNames()
getBatchContainerNames
in interface TransactionContainer
public BatchContainer getBatchContainer(String name)
getBatchContainer
in interface TransactionContainer
name
-
public boolean addAssertion(Assertion assertion)
assertion
-
public Enumeration getAssertions()
getAssertions
in interface TransactionContainer
public boolean setTransactionResults(TransactionResult[] results)
setTransactionResults
in interface TransactionContainer
results
-
public boolean clearAll()
clearAll
in interface TransactionContainer
public Enumeration getAssertionTargets()
getAssertionTargets
in interface TransactionContainer
private Assertion getLastAssertion(BatchContainer container, Object target)
container
- The container involved in the assertion.target
- The target of the assertion.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |