Class ConfigurableNode

  • All Implemented Interfaces:
    XMLNode

    public class ConfigurableNode
    extends DeploymentDescriptorNode
    ConfigurableNode able to treat dispatch element values to descriptors based on initialized values
    Version:
    Author:
    Jerome Dochez
    • Constructor Detail

      • ConfigurableNode

        public ConfigurableNode​(Object instance,
                                Map dispatchTable)
      • ConfigurableNode

        public ConfigurableNode​(Object descriptor,
                                Map dispatchTable,
                                XMLElement element)
    • Method Detail

      • getDispatchTable

        protected Map getDispatchTable()
        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.
        Overrides:
        getDispatchTable in class DeploymentDescriptorNode
        Returns:
        the map with the element name as a key, the setter method as a value