public class DefaultObjectCreator extends Object implements ObjectCreator
ObjectCreator
.MBeanUtils
to create new instance. End of parse hook is unused.DEFAULT
Constructor and Description |
---|
DefaultObjectCreator() |
Modifier and Type | Method and Description |
---|---|
void |
endOfParse(Object result,
LexerParser instanciatedBy)
Allows to add action on resulting objects after parsing process is done.
|
<C> C |
newInstance(Class<C> type,
LexerParser instanciatedBy)
Allows to override result objects instantiation during parse process.
|
public <C> C newInstance(Class<C> type, LexerParser instanciatedBy) throws UtilsException
ObjectCreator
newInstance
in interface ObjectCreator
UtilsException
public void endOfParse(Object result, LexerParser instanciatedBy) throws UtilsException
ObjectCreator
endOfParse
in interface ObjectCreator
UtilsException