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