Package com.sun.enterprise.deployment.node

Examples of com.sun.enterprise.deployment.node.XMLElement


     * Initialize the child handlers
     */
    public void Init() {
        // we do not care about our standard DDS handles
        handlers = null;
        registerElementHandler(new XMLElement(
                RuntimeTagNames.SERVLET),
            SipServletNode.class);
        registerElementHandler(new XMLElement(
                RuntimeTagNames.SECURITY_ROLE_MAPPING),
            SecurityRoleMappingNode.class);
        registerElementHandler(new XMLElement(RuntimeTagNames.SESSION_CONFIG),
            SessionConfigNode.class, "setSessionConfig");
        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, "setCache");

        registerElementHandler(new XMLElement(RuntimeTagNames.CLASS_LOADER),
            ClassLoaderNode.class, "setClassLoader");

        registerElementHandler(new XMLElement(
                RuntimeTagNames.LOCALE_CHARSET_INFO),
            LocaleCharsetInfoNode.class, "setLocaleCharsetInfo");

        registerElementHandler(new XMLElement(RuntimeTagNames.PROPERTY),
            WebPropertyContainerNode.class, "addWebProperty");

        registerElementHandler(new XMLElement(WebServicesTagNames.SERVICE_REF),
            ServiceRefNode.class);
        registerElementHandler(new XMLElement(
                RuntimeTagNames.MESSAGE_DESTINATION),
            MessageDestinationRuntimeNode.class);
        registerElementHandler(new XMLElement(WebServicesTagNames.WEB_SERVICE),
            WebServiceRuntimeNode.class);
    }
View Full Code Here


    /**
     * @return the XML tag associated with this XMLNode
     */
    protected XMLElement getXMLRootTag() {
        return new XMLElement(DeploymentConstants.SCAS_SIP_RUNTIME_TAG);
    }
View Full Code Here

   
    private BundleDescriptor bundleDescriptor;

    public WebServicesDescriptorNode(BundleDescriptor descriptor) {
        bundleDescriptor = descriptor;
        registerElementHandler(new XMLElement(WebServicesTagNames.WEB_SERVICE),
                               WebServiceNode.class);
        SaxParserHandler.registerBundleNode(this, WebServicesTagNames.WEB_SERVICES);
    }  
View Full Code Here

    /** Creates a new instance of ServiceReferenceNode */
    public ServiceReferenceNode() {
        super();
        registerElementHandler
                (new XMLElement(WebServicesTagNames.HANDLER),
                        WebServiceHandlerNode.class, "addHandler");
        registerElementHandler
                (new XMLElement(WebServicesTagNames.HANDLER_CHAIN),
                        WebServiceHandlerChainNode.class, "addHandlerChain");
        registerElementHandler
                (new XMLElement(WebServicesTagNames.ADDRESSING),
                        AddressingNode.class, "setAddressing");
        registerElementHandler
                (new XMLElement(WebServicesTagNames.RESPECT_BINDING),
                        RespectBindingNode.class, "setRespectBinding");
        registerElementHandler
                (new XMLElement(TagNames.INJECTION_TARGET),
                        InjectionTargetNode.class, "addInjectionTarget");
    }
View Full Code Here

    /** Creates a new instance of WebServiceEndpointNode */
    public WebServiceEndpointNode() {
        super();
        registerElementHandler
            (new XMLElement(WebServicesTagNames.HANDLER),
             WebServiceHandlerNode.class, "addHandler");
        registerElementHandler
            (new XMLElement(WebServicesTagNames.ADDRESSING),
             AddressingNode.class, "setAddressing");
        registerElementHandler
            (new XMLElement(WebServicesTagNames.RESPECT_BINDING),
             RespectBindingNode.class, "setRespectBinding");
        registerElementHandler
            (new XMLElement(WebServicesTagNames.HANDLER_CHAIN),
             WebServiceHandlerChainNode.class, "addHandlerChain");
    }
View Full Code Here

    /**
     * @return the XML tag associated with this XMLNode
     */
    @Override
    protected XMLElement getXMLRootTag() {
        return new XMLElement(WebTagNames.WEB_RESOURCE_COLLECTION);
    }
View Full Code Here

   
    private BundleDescriptor bundleDescriptor;

    public WebServicesDescriptorNode(BundleDescriptor descriptor) {
        bundleDescriptor = descriptor;
        registerElementHandler(new XMLElement(WebServicesTagNames.WEB_SERVICE),
                               WebServiceNode.class);
        SaxParserHandler.registerBundleNode(this, WebServicesTagNames.WEB_SERVICES);
    }  
View Full Code Here

        new XMLElement(WebServicesTagNames.WEB_SERVICE);

    public WebServiceNode() {
        super();
        registerElementHandler
            (new XMLElement(WebServicesTagNames.PORT_COMPONENT),
             WebServiceEndpointNode.class);
    }
View Full Code Here

   
    private BundleDescriptor bundleDescriptor;

    public WebServicesDescriptorNode(BundleDescriptor descriptor) {
        bundleDescriptor = descriptor;
        registerElementHandler(new XMLElement(WebServicesTagNames.WEB_SERVICE),
                               WebServiceNode.class);
        SaxParserHandler.registerBundleNode(this, WebServicesTagNames.WEB_SERVICES);
    }  
View Full Code Here

    /** Creates a new instance of ServiceReferenceNode */
    public ServiceReferenceNode() {
        super();
        registerElementHandler
                (new XMLElement(WebServicesTagNames.HANDLER),
                        WebServiceHandlerNode.class, "addHandler");
        registerElementHandler
                (new XMLElement(WebServicesTagNames.HANDLER_CHAIN),
                        WebServiceHandlerChainNode.class, "addHandlerChain");
        registerElementHandler
                (new XMLElement(WebServicesTagNames.ADDRESSING),
                        AddressingNode.class, "setAddressing");
        registerElementHandler
                (new XMLElement(WebServicesTagNames.RESPECT_BINDING),
                        RespectBindingNode.class, "setRespectBinding");
        registerElementHandler
                (new XMLElement(TagNames.INJECTION_TARGET),
                        InjectionTargetNode.class, "addInjectionTarget");
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.node.XMLElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.