Package org.glassfish.hk2.api
Interface TwoPhaseTransactionData
- All Known Implementing Classes:
TwoPhaseTransactionDataImpl
public interface TwoPhaseTransactionData
-
Method Summary
Modifier and TypeMethodDescriptionList
<ActiveDescriptor<?>> Gets all ActiveDescriptors that will be added in this transactionList
<ActiveDescriptor<?>> Gets all ActiveDescriptors that will be removed by this transaction
-
Method Details
-
getAllAddedDescriptors
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
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
-