public static interface ObjectGraphBuilder.NewInstanceResolver
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.
|
java.lang.Object newInstance(java.lang.Class klass, java.util.Map attributes) throws java.lang.InstantiationException, java.lang.IllegalAccessException
klass
- the resolved class nameattributes
- the attribute Map available for the nodejava.lang.InstantiationException
java.lang.IllegalAccessException