Package com.sun.enterprise.deployment.node

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


    private final static XMLElement tag =
        new XMLElement(SipTagNames.SERVLET_SELECTION);   
   
    public ServletSelectionNode(){
        super();
        registerElementHandler(new XMLElement(SipTagNames.SERVLET_MAPPING),
                SipServletMappingNode.class);
        registerElementHandler(new XMLElement(SipTagNames.MAIN_SERVLET),
                MainServletNode.class);
    }
View Full Code Here


   
    protected Object descriptor = null;
   
    public PatternNode(){
        super();
        registerElementHandler(new XMLElement(SipTagNames.AND),
                AndOperatorNode.class, "setCondition");
        registerElementHandler(new XMLElement(SipTagNames.OR),
                OrOperatorNode.class, "setCondition");
        registerElementHandler(new XMLElement(SipTagNames.NOT),
                NotOperatorNode.class, "setCondition");
        registerElementHandler(new XMLElement(SipTagNames.EQUALS),
                EqualsOperandNode.class, "addCondition");
        registerElementHandler(new XMLElement(SipTagNames.EXISTS),
                ExistsOperandNode.class, "addCondition");
        registerElementHandler(new XMLElement(SipTagNames.CONTAINS),
                ContainsOperandNode.class, "addCondition");
        registerElementHandler(new XMLElement(SipTagNames.SUBDOMAINOF),
                SubDomainOfOperandNode.class, "addCondition");       
    }
View Full Code Here

    private SecurityConstraint descriptor;
   
    /** Creates new SecurityConstraintNode */
    public SecurityConstraintsNode() {
        super();
        registerElementHandler(new XMLElement(WebTagNames.USERDATA_CONSTRAINT), UserDataConstraintNode.class);       
        registerElementHandler(new XMLElement(SipTagNames.AUTH_CONSTRAINT), AuthConstraintNode.class);               
        registerElementHandler(new XMLElement(SipTagNames.SIP_RESOURCE_COLLECTION),
                                                             ResourceCollectionNode.class, "addResourceCollection");               
    }
View Full Code Here

   
      
    /** Creates new ServletNode */
    public UserDataConstraintNode() {
        super();
        registerElementHandler(new XMLElement(SipTagNames.DESCRIPTION),
            org.jvnet.glassfish.comms.deployment.node.sip.LocalizedInfoNode.class);       

    }
View Full Code Here

public class OperatorNode  extends DeploymentDescriptorNode {
   
    /** Creates a new instance of OperatorNode */
    public OperatorNode() {
        super();
        registerElementHandler(new XMLElement(SipTagNames.AND),
                AndOperatorNode.class, "setCondition");
        registerElementHandler(new XMLElement(SipTagNames.NOT),
                NotOperatorNode.class, "setCondition");
        registerElementHandler(new XMLElement(SipTagNames.OR),
                OrOperatorNode.class, "setCondition");       
        registerElementHandler(new XMLElement(SipTagNames.EQUALS),
                EqualsOperandNode.class, "addCondition");       
        registerElementHandler(new XMLElement(SipTagNames.EXISTS),
                ExistsOperandNode.class, "addCondition");
        registerElementHandler(new XMLElement(SipTagNames.CONTAINS),
                ContainsOperandNode.class, "addCondition");
        registerElementHandler(new XMLElement(SipTagNames.SUBDOMAINOF),
                SubDomainOfOperandNode.class, "addCondition");       
    }
View Full Code Here

    private Servlet descriptor;
   
    /** Creates new ServletNode */
    public SipServletNode() {
        super();
        registerElementHandler(new XMLElement(WebTagNames.ICON), IconNode.class);        
        registerElementHandler(new XMLElement(WebTagNames.ROLE_REFERENCE), SecurityRoleRefNode.class);       
        registerElementHandler(new XMLElement(WebTagNames.INIT_PARAM), InitParamNode.class);               
        registerElementHandler(new XMLElement(WebTagNames.RUNAS_SPECIFIED_IDENTITY),
                                                             RunAsNode.class, "setRunAsIdentity");
        registerElementHandler(new XMLElement(RuntimeTagNames.PRINCIPAL_NAME),
                                                         PrincipalNameNode.class);
       
    }
View Full Code Here

   
      
    /** Creates new ServletNode */
    public AuthConstraintNode() {
        super();
        registerElementHandler(new XMLElement(SipTagNames.DESCRIPTION),
            org.jvnet.glassfish.comms.deployment.node.sip.LocalizedInfoNode.class);       

    }
View Full Code Here

    private void registerExtensionDescriptors() {
        // get all the descriptors from the HashMap and register them
        for(Iterator iter = tagDescriptorMap.keySet().iterator(); iter.hasNext();) {
            String xmlPath = (String)iter.next();
            DescriptorFactory.register(
                    new XMLElement(xmlPath),
                     tagDescriptorMap.get(xmlPath));
        }
    }
View Full Code Here

     * 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

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.