Modifier and Type | Method and Description |
---|---|
T |
create(ServiceHandle<?> root,
SystemDescriptor<?> eventThrower)
Creates an instance of the given type
|
void |
dispose(T instance)
Disposes the given instance
|
List<Injectee> |
getInjectees()
Returns all the injectees needed prior
to creating this object
|
public List<Injectee> getInjectees()
Creator
getInjectees
in interface Creator<T>
public T create(ServiceHandle<?> root, SystemDescriptor<?> eventThrower) throws MultiException
Creator
create
in interface Creator<T>
MultiException
- if the creator threw an exception during constructionCopyright © 2018 Oracle Corporation. All rights reserved.