Methods Summary |
---|
protected void | Init()Initialize the child handlers
// we do not care about our standard DDS handles
handlers = null;
registerElementHandler(new XMLElement(RuntimeTagNames.RESOURCE_REFERENCE),
ResourceRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.EJB_REFERENCE),
EjbRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.RESOURCE_ENV_REFERENCE),
ResourceEnvRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.MESSAGE_DESTINATION_REFERENCE),
MessageDestinationRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.MESSAGE_DESTINATION),
MessageDestinationRuntimeNode.class);
registerElementHandler(new XMLElement(WebServicesTagNames.SERVICE_REF),
ServiceRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.JAVA_WEB_START_ACCESS),
JavaWebStartAccessNode.class);
|
public java.lang.String | getDocType()
return DTDRegistry.SUN_APPCLIENT_500_DTD_PUBLIC_ID;
|
public java.lang.String | getSystemID()
return DTDRegistry.SUN_APPCLIENT_500_DTD_SYSTEM_ID;
|
public java.util.List | getSystemIDs()
return null;
|
protected com.sun.enterprise.deployment.node.XMLElement | getXMLRootTag()
return new XMLElement(RuntimeTagNames.S1AS_APPCLIENT_RUNTIME_TAG);
|
public static java.lang.String | registerBundle(java.util.Map publicIDToDTD)register this node as a root node capable of loading entire DD files
publicIDToDTD.put(DTDRegistry.SUN_APPCLIENT_130_DTD_PUBLIC_ID, DTDRegistry.SUN_APPCLIENT_130_DTD_SYSTEM_ID);
publicIDToDTD.put(DTDRegistry.SUN_APPCLIENT_140_DTD_PUBLIC_ID, DTDRegistry.SUN_APPCLIENT_140_DTD_SYSTEM_ID);
publicIDToDTD.put(DTDRegistry.SUN_APPCLIENT_141_DTD_PUBLIC_ID, DTDRegistry.SUN_APPCLIENT_141_DTD_SYSTEM_ID);
publicIDToDTD.put(DTDRegistry.SUN_APPCLIENT_500_DTD_PUBLIC_ID, DTDRegistry.SUN_APPCLIENT_500_DTD_SYSTEM_ID);
if (!restrictDTDDeclarations()) {
publicIDToDTD.put(DTDRegistry.SUN_APPCLIENT_140beta_DTD_PUBLIC_ID, DTDRegistry.SUN_APPCLIENT_140beta_DTD_SYSTEM_ID);
}
return RuntimeTagNames.S1AS_APPCLIENT_RUNTIME_TAG;
|
public org.w3c.dom.Node | writeDescriptor(org.w3c.dom.Node parent, com.sun.enterprise.deployment.Descriptor descriptor)write the descriptor class to a DOM tree and return it
if (! (descriptor instanceof ApplicationClientDescriptor)) {
throw new IllegalArgumentException(getClass() + " cannot handles descriptors of type " + descriptor.getClass());
}
Node appClient = super.writeDescriptor(parent, descriptor);
ApplicationClientDescriptor bundleDescriptor = (ApplicationClientDescriptor) descriptor;
RuntimeDescriptorNode.writeCommonComponentInfo(appClient, descriptor);
RuntimeDescriptorNode.writeMessageDestinationInfo(appClient, bundleDescriptor);
JavaWebStartAccessNode.writeJavaWebStartInfo(appClient, bundleDescriptor.getJavaWebStartAccessDescriptor());
return appClient;
|