1 23 24 29 30 package com.sun.enterprise.deployment.node; 31 32 import java.util.Map ; 33 import java.util.HashMap ; 34 import com.sun.enterprise.deployment.Descriptor; 35 import com.sun.enterprise.deployment.xml.EjbTagNames; 36 37 44 public class ConfigurableNode extends DeploymentDescriptorNode { 45 46 private Map dispatchTable; 47 private Object descriptor; 48 49 public ConfigurableNode(Object instance, Map dispatchTable) { 50 super(); 51 this.dispatchTable = dispatchTable; 52 this.descriptor = instance; 53 } 54 55 public ConfigurableNode(Object descriptor, Map dispatchTable, XMLElement element) { 56 super(); 57 this.dispatchTable = dispatchTable; 58 this.descriptor = descriptor; 59 super.setXMLRootTag(element); 60 } 61 62 65 public Object getDescriptor() { 66 return descriptor; 67 } 68 69 75 protected Map getDispatchTable() { 76 return dispatchTable; 77 } 78 } 79 | Popular Tags |