public class CustomizersFactory extends AbstractFactory implements PostCompletionFactory
Constructor and Description |
---|
CustomizersFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
newInstance(FactoryBuilderSupport builder,
Object name,
Object value,
Map attributes) |
Object |
postCompleteNode(FactoryBuilderSupport factory,
Object parent,
Object node) |
void |
setChild(FactoryBuilderSupport builder,
Object parent,
Object child) |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setParent
public Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes) throws InstantiationException, IllegalAccessException
newInstance
in interface Factory
builder
- the FactoryBuildername
- the name of the node being builtvalue
- the 'value' argument in the build nodeattributes
- the attributes of the build argInstantiationException
- if attempting to instantiate an interface or abstract classIllegalAccessException
- if the instance can't be created due to a security violationpublic void setChild(FactoryBuilderSupport builder, Object parent, Object child)
setChild
in interface Factory
setChild
in class AbstractFactory
public Object postCompleteNode(FactoryBuilderSupport factory, Object parent, Object node)
postCompleteNode
in interface PostCompletionFactory