Package org.glassfish.hk2.api
Interface TwoPhaseTransactionData
-
- All Known Implementing Classes:
TwoPhaseTransactionDataImpl
public interface TwoPhaseTransactionData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ActiveDescriptor<?>>
getAllAddedDescriptors()
Gets all ActiveDescriptors that will be added in this transactionjava.util.List<ActiveDescriptor<?>>
getAllRemovedDescriptors()
Gets all ActiveDescriptors that will be removed by this transaction
-
-
-
Method Detail
-
getAllAddedDescriptors
java.util.List<ActiveDescriptor<?>> getAllAddedDescriptors()
Gets all ActiveDescriptors that will be added in this transaction- Returns:
- A non-null but possibly empty list of descriptors that will be added
-
getAllRemovedDescriptors
java.util.List<ActiveDescriptor<?>> getAllRemovedDescriptors()
Gets all ActiveDescriptors that will be removed by this transaction- 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
-
-