Top Fields Constructors Methods
org.jvnet.hk2.internal

public Class InstantiationServiceImpl

extends Object
implements InstantiationService
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.api.InstantiationService
Annotations
@Visibility:LOCAL
Imports
java.util.HashMap, .LinkedList, java.util.concurrent.locks.ReentrantLock, org.glassfish.hk2.api.DescriptorVisibility, .Injectee, .InstantiationData, .InstantiationService, .Visibility

Author
jwells

Field Summary

Modifier and TypeField and Description
private final HashMap<Long, LinkedList<Injectee>>
private final ReentrantLock

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public InstantiationData
getInstantiationData()

Implements org.glassfish.hk2.api.InstantiationService.getInstantiationData.

This method may be called from inside the implementation of Factory#provide() method to get more information about the reason for instantiation.

public void
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

injecteeStackback to summary
private final HashMap<Long, LinkedList<Injectee>> injecteeStack
lockback to summary
private final ReentrantLock lock

Constructor Detail

InstantiationServiceImplback to summary
public InstantiationServiceImpl()

Method Detail

getInstantiationDataback to summary
public InstantiationData getInstantiationData()

Implements org.glassfish.hk2.api.InstantiationService.getInstantiationData.

Doc from org.glassfish.hk2.api.InstantiationService.getInstantiationData.

This method may be called from inside the implementation of Factory#provide() method to get more information about the reason for instantiation. If this method is called outside the scope of a Factory#provide() method the results are indeterminate

Annotations
@Override
popInjecteeParentback to summary
public void popInjecteeParent()
pushInjecteeParentback to summary
public void pushInjecteeParent(Injectee injectee)
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