Top Fields Constructors Methods
org.jvnet.hk2.internal

public Class TwoPhaseTransactionDataImpl

extends Object
implements TwoPhaseTransactionData
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.api.TwoPhaseTransactionData
Imports
java.util.ArrayList, .Collections, .LinkedList, .List, org.glassfish.hk2.api.ActiveDescriptor, .TwoPhaseTransactionData

Author
jwells

Field Summary

Modifier and TypeField and Description
private final List<ActiveDescriptor<?>>
private final List<ActiveDescriptor<?>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<ActiveDescriptor<?>>
getAllAddedDescriptors()

Implements org.glassfish.hk2.api.TwoPhaseTransactionData.getAllAddedDescriptors.

Gets all ActiveDescriptors that will be added in this transaction

public List<ActiveDescriptor<?>>
getAllRemovedDescriptors()

Implements org.glassfish.hk2.api.TwoPhaseTransactionData.getAllRemovedDescriptors.

Gets all ActiveDescriptors that will be removed by this transaction

pack-priv void
pack-priv void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

addedback to summary
private final List<ActiveDescriptor<?>> added
removedback to summary
private final List<ActiveDescriptor<?>> removed

Constructor Detail

TwoPhaseTransactionDataImplback to summary
public TwoPhaseTransactionDataImpl()

Method Detail

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

Implements org.glassfish.hk2.api.TwoPhaseTransactionData.getAllAddedDescriptors.

Doc from org.glassfish.hk2.api.TwoPhaseTransactionData.getAllAddedDescriptors.

Gets all ActiveDescriptors that will be added in this transaction

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

Implements org.glassfish.hk2.api.TwoPhaseTransactionData.getAllRemovedDescriptors.

Doc from org.glassfish.hk2.api.TwoPhaseTransactionData.getAllRemovedDescriptors.

Gets all ActiveDescriptors that will be removed by this transaction

Annotations
@Override
toAddback to summary
pack-priv void toAdd(ActiveDescriptor<?> addMe)
toRemoveback to summary
pack-priv void toRemove(ActiveDescriptor<?> removeMe)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override