use of com.sun.enterprise.deployment.node.XMLElement in project Payara by payara.
the class RuntimeDescriptorFactory method initMapping.
private static void initMapping() {
descriptorClasses = new HashMap();
// weblogic DD
register(new XMLElement(RuntimeTagNames.RESOURCE_DESCRIPTION), ResourceReferenceDescriptor.class);
register(new XMLElement(RuntimeTagNames.RESOURCE_ENV_DESCRIPTION), ResourceEnvReferenceDescriptor.class);
register(new XMLElement(RuntimeTagNames.EJB_REFERENCE_DESCRIPTION), EjbReference.class);
// connector related
register(new XMLElement(RuntimeTagNames.PRINCIPAL), Principal.class);
register(new XMLElement(RuntimeTagNames.BACKEND_PRINCIPAL), Principal.class);
register(new XMLElement(RuntimeTagNames.MAP_ELEMENT), MapElement.class);
register(new XMLElement(RuntimeTagNames.ROLE_MAP), RoleMap.class);
register(new XMLElement(RuntimeTagNames.RESOURCE_ADAPTER), ResourceAdapter.class);
}
use of com.sun.enterprise.deployment.node.XMLElement in project Payara by payara.
the class ApplicationRuntimeNode method init.
/**
* Initialize the child handlers
*/
protected void init() {
super.init();
registerElementHandler(new XMLElement(RuntimeTagNames.SECURITY_ROLE_MAPPING), SecurityRoleMappingNode.class);
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.PROPERTY), ResourcePropertyNode.class);
}
use of com.sun.enterprise.deployment.node.XMLElement in project Payara by payara.
the class OutBoundRANode method register.
/**
* method for registering the handlers with the various tags
*/
private void register() {
registerElementHandler(new XMLElement(ConnectorTagNames.AUTH_MECHANISM), AuthMechNode.class);
registerElementHandler(new XMLElement(ConnectorTagNames.CONNECTION_DEFINITION), ConnectionDefNode.class);
registerElementHandler(new XMLElement(ConnectorTagNames.CONFIG_PROPERTY), ConfigPropertyNode.class);
registerElementHandler(new XMLElement(ConnectorTagNames.SECURITY_PERMISSION), SecurityPermissionNode.class);
}
use of com.sun.enterprise.deployment.node.XMLElement in project Payara by payara.
the class AppClientRuntimeNode method init.
/**
* Initialize the child handlers
*/
protected void init() {
// 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);
}
use of com.sun.enterprise.deployment.node.XMLElement in project Payara by payara.
the class WebBundleRuntimeNode method init.
/**
* Initialize the child handlers
*/
@Override
protected void init() {
// we do not care about our standard DDS handles
handlers = null;
registerElementHandler(new XMLElement(RuntimeTagNames.SECURITY_ROLE_MAPPING), SecurityRoleMappingNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.SERVLET), org.glassfish.web.deployment.node.runtime.gf.ServletNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.IDEMPOTENT_URL_PATTERN), IdempotentUrlPatternNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.SESSION_CONFIG), SessionConfigNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.RESOURCE_ENV_REFERENCE), ResourceEnvRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.MESSAGE_DESTINATION_REFERENCE), MessageDestinationRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.RESOURCE_REFERENCE), ResourceRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.EJB_REFERENCE), EjbRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.CACHE), CacheNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.CLASS_LOADER), ClassLoaderNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.JSP_CONFIG), JspConfigRuntimeNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.LOCALE_CHARSET_INFO), LocaleCharsetInfoNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.PROPERTY), WebPropertyNode.class);
registerElementHandler(new XMLElement(WebServicesTagNames.SERVICE_REF), ServiceRefNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.MESSAGE_DESTINATION), MessageDestinationRuntimeNode.class);
registerElementHandler(new XMLElement(WebServicesTagNames.WEB_SERVICE), WebServiceRuntimeNode.class);
registerElementHandler(new XMLElement(RuntimeTagNames.VALVE), ValveNode.class);
}
Aggregations