public static class ObjectGraphBuilder.DefaultNewInstanceResolver extends Object implements ObjectGraphBuilder.NewInstanceResolver
Constructor and Description |
---|
DefaultNewInstanceResolver() |
Modifier and Type | Method and Description |
---|---|
Object |
newInstance(Class klass,
Map attributes)
Create a new instance of Class klass.
|
public Object newInstance(Class klass, Map attributes) throws InstantiationException, IllegalAccessException
ObjectGraphBuilder.NewInstanceResolver
newInstance
in interface ObjectGraphBuilder.NewInstanceResolver
klass
- the resolved class nameattributes
- the attribute Map available for the nodeInstantiationException
IllegalAccessException