FileDocCategorySizeDatePackage
ConfigurableNode.javaAPI DocGlassfish v2 API3435Fri May 04 22:31:38 BST 2007com.sun.enterprise.deployment.node

ConfigurableNode

public class ConfigurableNode extends DeploymentDescriptorNode
ConfigurableNode able to treat dispatch element values to descriptors based on initialized values
author
Jerome Dochez
version

Fields Summary
private Map
dispatchTable
private Object
descriptor
Constructors Summary
public ConfigurableNode(Object instance, Map dispatchTable)

        super();
        this.dispatchTable = dispatchTable;
        this.descriptor = instance;
    
public ConfigurableNode(Object descriptor, Map dispatchTable, XMLElement element)

        super();
        this.dispatchTable = dispatchTable;
        this.descriptor = descriptor;
	super.setXMLRootTag(element);
    
Methods Summary
public java.lang.ObjectgetDescriptor()

return
the descriptor instance to associate with this XMLNode

        return descriptor;
    
protected java.util.MapgetDispatchTable()
all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value.

return
the map with the element name as a key, the setter method as a value

        return dispatchTable;