Package org.jvnet.hk2.internal
Class ClazzCreator<T>
- java.lang.Object
-
- org.jvnet.hk2.internal.ClazzCreator<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
create(ServiceHandle<?> root, SystemDescriptor<?> eventThrower)
Creates an instance of the given typevoid
dispose(T instance)
Disposes the given instanceList<Injectee>
getInjectees()
Returns all the injectees needed prior to creating this objectString
toString()
-
-
-
Method Detail
-
create
public T create(ServiceHandle<?> root, SystemDescriptor<?> eventThrower)
Description copied from interface:Creator
Creates an instance of the given type
-
dispose
public void dispose(T instance)
Description copied from interface:Creator
Disposes the given instance
-
getInjectees
public List<Injectee> getInjectees()
Description copied from interface:Creator
Returns all the injectees needed prior to creating this object- Specified by:
getInjectees
in interfaceCreator<T>
- Returns:
- a List of all the injectees
-
-