Package org.jvnet.hk2.internal
Class InstantiationServiceImpl
java.lang.Object
org.jvnet.hk2.internal.InstantiationServiceImpl
- All Implemented Interfaces:
InstantiationService
@Visibility(LOCAL)
public class InstantiationServiceImpl
extends Object
implements InstantiationService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method may be called from inside the implementation ofFactory.provide()
method to get more information about the reason for instantiation.void
void
pushInjecteeParent
(Injectee injectee) toString()
-
Field Details
-
injecteeStack
-
-
Constructor Details
-
InstantiationServiceImpl
public InstantiationServiceImpl()
-
-
Method Details
-
getInstantiationData
Description copied from interface:InstantiationService
This method may be called from inside the implementation ofFactory.provide()
method to get more information about the reason for instantiation. If this method is called outside the scope of aFactory.provide()
method the results are indeterminate- Specified by:
getInstantiationData
in interfaceInstantiationService
- Returns:
- A non-null InstantiationData object
containing information about the caller of
the
Factory.provide()
method. May return null if no information is known or if called from outside of aFactory.provide()
method
-
pushInjecteeParent
-
popInjecteeParent
public void popInjecteeParent() -
toString
-