groovy.util
Class ObjectGraphBuilder.ObjectFactory
java.lang.Object
groovy.util.AbstractFactory
groovy.util.ObjectGraphBuilder.ObjectFactory
- All Implemented Interfaces:
- Factory
- Direct Known Subclasses:
- ObjectGraphBuilder.ObjectRefFactory
- Enclosing class:
- ObjectGraphBuilder
private static class ObjectGraphBuilder.ObjectFactory
- extends AbstractFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectGraphBuilder.ObjectFactory
private ObjectGraphBuilder.ObjectFactory()
newInstance
public java.lang.Object newInstance(FactoryBuilderSupport builder,
java.lang.Object name,
java.lang.Object value,
java.util.Map properties)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Parameters:
builder
- the FactoryBuildername
- the name of the node being builtvalue
- the 'value' argument in the build nodeproperties
- the attributes of the build arg
- Returns:
- the object created for the builder
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
setChild
public void setChild(FactoryBuilderSupport builder,
java.lang.Object parent,
java.lang.Object child)
- Specified by:
setChild
in interface Factory
- Overrides:
setChild
in class AbstractFactory
setParent
public void setParent(FactoryBuilderSupport builder,
java.lang.Object parent,
java.lang.Object child)
- Specified by:
setParent
in interface Factory
- Overrides:
setParent
in class AbstractFactory
loadClass
private java.lang.Class loadClass(java.lang.ClassLoader classLoader,
java.lang.String classname)
Copyright © ${year} The Codehaus. All Rights Reserved.