@Visibility(value=LOCAL) public class InstantiationServiceImpl extends java.lang.Object implements InstantiationService
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.Long,java.util.LinkedList<Injectee>> |
injecteeStack |
Constructor and Description |
---|
InstantiationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
InstantiationData |
getInstantiationData()
This method may be called from inside the
implementation of
Factory.provide()
method to get more information about the
reason for instantiation. |
void |
popInjecteeParent() |
void |
pushInjecteeParent(Injectee injectee) |
java.lang.String |
toString() |
private final java.util.HashMap<java.lang.Long,java.util.LinkedList<Injectee>> injecteeStack
public InstantiationData getInstantiationData()
InstantiationService
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 indeterminategetInstantiationData
in interface InstantiationService
Factory.provide()
method. May
return null if no information is known or
if called from outside of a Factory.provide()
methodpublic void pushInjecteeParent(Injectee injectee)
public void popInjecteeParent()
public java.lang.String toString()
toString
in class java.lang.Object