Package com.sun.enterprise.deployment.node

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


*/
public class SecurityConstraintNode extends DeploymentDescriptorNode {

    public SecurityConstraintNode() {
        super();
        registerElementHandler(new XMLElement(WebTagNames.USERDATA_CONSTRAINT),
                    UserDataConstraintNode.class, "setUserDataConstraint");
        registerElementHandler(new XMLElement(WebTagNames.AUTH_CONSTRAINT),        
                    AuthConstraintNode.class, "setAuthorizationConstraint");
        registerElementHandler(new XMLElement(WebTagNames.WEB_RESOURCE_COLLECTION),        
                    WebResourceCollectionNode.class, "addWebResourceCollection");       
    }
View Full Code Here


* @version
*/
public class MapElementNode extends RuntimeDescriptorNode {
   
    public MapElementNode() {
        registerElementHandler(new XMLElement(RuntimeTagNames.PRINCIPAL),
                               PrincipalNode.class);
        registerElementHandler(new XMLElement(RuntimeTagNames.BACKEND_PRINCIPAL),
                               PrincipalNode.class);            
    }
View Full Code Here

    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);


    }
View Full Code Here

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

    private InboundResourceAdapter descriptor = null;

    //default constructor
    public InBoundRANode() {
  registerElementHandler(new XMLElement(ConnectorTagNames.MSG_LISTENER),
             MessageListenerNode.class);
    }
View Full Code Here

public class FilterNode extends DisplayableComponentNode {

    // constructor. register sub nodes.
    public FilterNode() {
        super();       
        registerElementHandler(new XMLElement(WebTagNames.INIT_PARAM),
                                                            InitParamNode.class, "addInitializationParameter");           
    }
View Full Code Here

   
    /** Creates new EjbBundleRuntimeNode */
    public EjbBundleRuntimeNode(EjbBundleDescriptor descriptor) {
        super(descriptor);
        this.descriptor = descriptor;     
        registerElementHandler(new XMLElement(RuntimeTagNames.SECURITY_ROLE_MAPPING),
                               SecurityRoleMappingNode.class);
        registerElementHandler(new XMLElement(RuntimeTagNames.EJBS),
                               EntrepriseBeansRuntimeNode.class);  
    }
View Full Code Here

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

    private WebComponentDescriptor descriptor;
   
    /** Creates new ServletNode */
    public ServletNode() {
        super();
        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");               
       
    }
View Full Code Here

*/
public class CacheNode extends WebRuntimeNode {
   
    public CacheNode() {
 
  registerElementHandler(new XMLElement(RuntimeTagNames.CACHE_HELPER),
        CacheHelperNode.class, "addNewCacheHelper");  
  registerElementHandler(new XMLElement(RuntimeTagNames.DEFAULT_HELPER),
        WebPropertyNode.class, "setDefaultHelper");
  registerElementHandler(new XMLElement(RuntimeTagNames.PROPERTY),
        WebPropertyNode.class, "addWebProperty");  
  registerElementHandler(new XMLElement(RuntimeTagNames.CACHE_MAPPING),
        CacheMappingNode.class, "addNewCacheMapping");              
    }
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.