java.lang.Object
org.jvnet.hk2.internal.FactoryCreator<T>
- Type Parameters:
T- The thing this factory is producing
- All Implemented Interfaces:
Creator<T>
- Author:
- jwells
-
Method Summary
Modifier and TypeMethodDescriptioncreate(ServiceHandle<?> root, SystemDescriptor<?> eventThrower) Creates an instance of the given typevoidDisposes the given instanceReturns all the injectees needed prior to creating this objecttoString()
-
Method Details
-
getInjectees
Description copied from interface:CreatorReturns all the injectees needed prior to creating this object- Specified by:
getInjecteesin interfaceCreator<T>- Returns:
- a List of all the injectees
-
create
Description copied from interface:CreatorCreates an instance of the given type- Specified by:
createin interfaceCreator<T>- Returns:
- an instance of the given type
- Throws:
MultiException- if the creator threw an exception during construction
-
dispose
Description copied from interface:CreatorDisposes the given instance -
toString
-