Search in sources :

Example 1 with XMLElement

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);
}
Also used : HashMap(java.util.HashMap) XMLElement(com.sun.enterprise.deployment.node.XMLElement)

Example 2 with XMLElement

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);
}
Also used : XMLElement(com.sun.enterprise.deployment.node.XMLElement)

Example 3 with XMLElement

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);
}
Also used : XMLElement(com.sun.enterprise.deployment.node.XMLElement)

Example 4 with XMLElement

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);
}
Also used : XMLElement(com.sun.enterprise.deployment.node.XMLElement)

Example 5 with XMLElement

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);
}
Also used : XMLElement(com.sun.enterprise.deployment.node.XMLElement)

Aggregations

XMLElement (com.sun.enterprise.deployment.node.XMLElement)7 HashMap (java.util.HashMap)1