FinderNodepublic class FinderNode extends com.sun.enterprise.deployment.node.DeploymentDescriptorNode
Fields Summary |
---|
private com.sun.enterprise.deployment.runtime.IASEjbCMPFinder | descriptor |
Methods Summary |
---|
public java.lang.Object | getDescriptor()
if (descriptor==null) {
descriptor = new IASEjbCMPFinder();
}
return descriptor;
| 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.
Map dispatchTable = super.getDispatchTable();
dispatchTable.put(RuntimeTagNames.METHOD_NAME, "setMethodName");
dispatchTable.put(RuntimeTagNames.QUERY_PARAMS, "setQueryParameterDeclaration");
dispatchTable.put(RuntimeTagNames.QUERY_FILTER, "setQueryFilter");
dispatchTable.put(RuntimeTagNames.QUERY_VARIABLES, "setQueryVariables");
dispatchTable.put(RuntimeTagNames.QUERY_ORDERING, "setQueryOrdering");
return dispatchTable;
| public org.w3c.dom.Node | writeDescriptor(org.w3c.dom.Node parent, java.lang.String nodeName, com.sun.enterprise.deployment.runtime.IASEjbCMPFinder finder)write the descriptor class to a DOM tree and return it
Node finderNode = super.writeDescriptor(parent, nodeName, finder);
appendTextChild(finderNode, RuntimeTagNames.METHOD_NAME, finder.getMethodName());
appendTextChild(finderNode, RuntimeTagNames.QUERY_PARAMS, finder.getQueryParameterDeclaration());
appendTextChild(finderNode, RuntimeTagNames.QUERY_FILTER, finder.getQueryFilter());
appendTextChild(finderNode, RuntimeTagNames.QUERY_VARIABLES, finder.getQueryVariables());
appendTextChild(finderNode, RuntimeTagNames.QUERY_ORDERING, finder.getQueryOrdering());
return finderNode;
|
|