|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of instances created.
public interface InstanceCreator<T>
Interface to create instances for the service factory
.
Method Summary | |
---|---|
T |
create() Creates the instance. |
Class<T> |
getType() Returns the type this creator creates instances for. |
Method Detail |
---|
Class<T> getType()
@CheckForNull T create() throws ConfigException
null
if there is not enough information to create an instance.
ConfigException
- on any technical problem encountered while creating the instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |