Top Methods
org.glassfish.hk2.api

public Interface TwoPhaseTransactionData

Imports
java.util.List

Author
jwells

Method Summary

Modifier and TypeMethod and Description
public List<ActiveDescriptor<?>>

Returns:

A non-null but possibly empty list of descriptors that will be added
getAllAddedDescriptors
()

Gets all ActiveDescriptors that will be added in this transaction

public List<ActiveDescriptor<?>>

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
getAllRemovedDescriptors
()

Gets all ActiveDescriptors that will be removed by this transaction

Method Detail

getAllAddedDescriptorsback to summary
public List<ActiveDescriptor<?>> getAllAddedDescriptors()

Gets all ActiveDescriptors that will be added in this transaction

Returns:List<ActiveDescriptor<?>>

A non-null but possibly empty list of descriptors that will be added

getAllRemovedDescriptorsback to summary
public List<ActiveDescriptor<?>> getAllRemovedDescriptors()

Gets all ActiveDescriptors that will be removed by this transaction

Returns:List<ActiveDescriptor<?>>

Null prior to commit being invoked and a non-null but possibly empty list of descriptors that will be removed after commit being invoked