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
|
String |
toString() |
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 constructionpublic void dispose(T instance)
Creator
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.