Package org.jvnet.hk2.internal
Class TwoPhaseTransactionDataImpl
- java.lang.Object
-
- org.jvnet.hk2.internal.TwoPhaseTransactionDataImpl
-
- All Implemented Interfaces:
TwoPhaseTransactionData
public class TwoPhaseTransactionDataImpl extends Object implements TwoPhaseTransactionData
- Author:
- jwells
-
-
Constructor Summary
Constructors Constructor Description TwoPhaseTransactionDataImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ActiveDescriptor<?>>
getAllAddedDescriptors()
Gets all ActiveDescriptors that will be added in this transactionList<ActiveDescriptor<?>>
getAllRemovedDescriptors()
Gets all ActiveDescriptors that will be removed by this transactionString
toString()
-
-
-
Method Detail
-
getAllAddedDescriptors
public List<ActiveDescriptor<?>> getAllAddedDescriptors()
Description copied from interface:TwoPhaseTransactionData
Gets all ActiveDescriptors that will be added in this transaction- Specified by:
getAllAddedDescriptors
in interfaceTwoPhaseTransactionData
- Returns:
- A non-null but possibly empty list of descriptors that will be added
-
getAllRemovedDescriptors
public List<ActiveDescriptor<?>> getAllRemovedDescriptors()
Description copied from interface:TwoPhaseTransactionData
Gets all ActiveDescriptors that will be removed by this transaction- Specified by:
getAllRemovedDescriptors
in interfaceTwoPhaseTransactionData
- Returns:
- Null prior to commit being invoked and a non-null but possibly empty list of descriptors that will be removed after commit being invoked
-
-