|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.DisplayableComponentNode
com.sun.enterprise.deployment.node.ejb.EjbNode
public abstract class EjbNode
This class is responsible for handling all common information shared by all types of entreprise beans (MDB, session, entity)
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode |
|---|
abstractDescriptor, handlers, localStrings, parentNode |
| Constructor Summary | |
|---|---|
EjbNode()
Creates new EjbNode |
|
| Method Summary | |
|---|---|
void |
addDescriptor(java.lang.Object newDescriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with this XMLNode |
java.lang.Object |
getDescriptor()
|
protected java.util.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. |
abstract EjbDescriptor |
getEjbDescriptor()
|
protected void |
writeCommonHeaderEjbDescriptor(org.w3c.dom.Node ejbNode,
EjbDescriptor descriptor)
write the common descriptor info to a DOM tree and return it |
protected void |
writeRoleReferenceDescriptors(org.w3c.dom.Node parentNode,
java.util.Iterator refs)
write the security role references to the DOM Tree |
protected void |
writeSecurityIdentityDescriptor(org.w3c.dom.Node parent,
EjbDescriptor descriptor)
write the security identity information about an EJB |
| Methods inherited from class com.sun.enterprise.deployment.node.DisplayableComponentNode |
|---|
writeDescriptor, writeDisplayableComponentInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EjbNode()
| Method Detail |
|---|
public void addDescriptor(java.lang.Object newDescriptor)
addDescriptor in interface XMLNodeaddDescriptor in class DeploymentDescriptorNodedescriptor - the new descriptorpublic java.lang.Object getDescriptor()
getDescriptor in interface XMLNodegetDescriptor in class DeploymentDescriptorNodepublic abstract EjbDescriptor getEjbDescriptor()
protected java.util.Map getDispatchTable()
getDispatchTable in class DeploymentDescriptorNode
protected void writeCommonHeaderEjbDescriptor(org.w3c.dom.Node ejbNode,
EjbDescriptor descriptor)
parent - node for the DOM treethe - descriptor to write
protected void writeSecurityIdentityDescriptor(org.w3c.dom.Node parent,
EjbDescriptor descriptor)
parent - node for the DOM treethe - EJB descriptor the security information to be retrieved
protected void writeRoleReferenceDescriptors(org.w3c.dom.Node parentNode,
java.util.Iterator refs)
parentNode - for the DOM treerefs - iterator over the RoleReference descriptors to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||