|
Groovy 1.8.4 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface ObjectGraphBuilder.NewInstanceResolver
Strategy for creating new instances of a class.
Useful for plug-in calls to non-default constructors.
Method Summary | |
---|---|
Object
|
newInstance(Class klass, Map attributes)
Create a new instance of Class klass. |
Method Detail |
---|
public Object newInstance(Class klass, Map attributes)
klass
- the resolved class nameattributes
- the attribute Map available for the node
Copyright © 2003-2011 The Codehaus. All rights reserved.