Examples of writeDescriptor()


Examples of com.sun.enterprise.deployment.node.runtime.common.ResourceRefNode.writeDescriptor()

        if ((resourceEnvRefs != null) && (resourceEnvRefs.length > 0)) {
            ResourceEnvRefNode node = new ResourceEnvRefNode();

            for (int i = 0; i < resourceEnvRefs.length; i++) {
                node.writeDescriptor(web, RuntimeTagNames.RESOURCE_ENV_REF,
                    resourceEnvRefs[i]);
            }
        }

        // service-ref*
 
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.RuntimeNameValuePairNode.writeDescriptor()

        Iterator properties = descriptor.getProperties();
  if (properties!=null) {
      RuntimeNameValuePairNode propNode = new RuntimeNameValuePairNode();       
      while (properties.hasNext()) {
    NameValuePairDescriptor aProp = (NameValuePairDescriptor) properties.next();
    propNode.writeDescriptor(cmp, RuntimeTagNames.PROPERTY, aProp);
      }
  }
       
        // createTableAtDeploy, dropTableAtUndeploy
        if (descriptor.isCreateTablesAtDeploy()) {
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.RuntimeNameValuePairNode.writeDescriptor()

        if (properties!=null) {
            RuntimeNameValuePairNode propNode = new RuntimeNameValuePairNode();
            while (properties.hasNext()) {
                NameValuePairDescriptor aProp =
                    (NameValuePairDescriptor) properties.next();
                propNode.writeDescriptor(ejbs, RuntimeTagNames.PROPERTY, aProp);
            }
        }

        return ejbs;
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.RuntimeNameValuePairNode.writeDescriptor()

        Iterator properties = endpoint.getProperties();
        if (properties!=null) {
            RuntimeNameValuePairNode propNode = new RuntimeNameValuePairNode();       
            while (properties.hasNext()) {
                NameValuePairDescriptor aProp = (NameValuePairDescriptor) properties.next();
                propNode.writeDescriptor(endpointNode, RuntimeTagNames.PROPERTY, aProp);
            }
      }
                           
        return endpointNode;
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.RuntimeNameValuePairNode.writeDescriptor()

  // properties...
  NameValuePairDescriptor[] properties = descriptor.getPropertyElement();
  if (properties!=null && properties.length>0) {
      RuntimeNameValuePairNode subNode = new RuntimeNameValuePairNode();
      for (int i=0;i<properties.length;i++) {
    subNode.writeDescriptor(raNode, RuntimeTagNames.PROPERTY, properties[i]);
      }
  }
 
  return raNode;
    }   
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.SecurityRoleMappingNode.writeDescriptor()

  // security-role-mapping
  SecurityRoleMapping[] roleMappings = sunWebApp.getSecurityRoleMapping();
  if (roleMappings!=null && roleMappings.length>0) {
      SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
      for (int i=0;i<roleMappings.length;i++) {
    srmn.writeDescriptor(web, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings[i]);
      }
  }
 
  // servlet
  Set servlets = bundleDescriptor.getServletDescriptors();
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.SecurityRoleMappingNode.writeDescriptor()

        // security-role-mapping*
        List<SecurityRoleMapping> roleMappings = bundleDescriptor.getSecurityRoleMappings();
        for (int i = 0; i < roleMappings.size(); i++) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
            srmn.writeDescriptor(ejbs, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
        }
 
      // entreprise-beans
        EntrepriseBeansRuntimeNode ejbsNode = new EntrepriseBeansRuntimeNode();
        ejbsNode.writeDescriptor(ejbs, RuntimeTagNames.EJBS, bundleDescriptor);
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.SecurityRoleMappingNode.writeDescriptor()

 
        // security-role-mapping*
        List<SecurityRoleMapping> roleMappings = application.getSecurityRoleMappings();
        for (int i = 0; i < roleMappings.size(); i++) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
            srmn.writeDescriptor(appNode, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
        }
       
        // realm?
        appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());
       
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.SecurityRoleMappingNode.writeDescriptor()

        if ((roleMappings != null) && (roleMappings.length > 0)) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();

            for (int i = 0; i < roleMappings.length; i++) {
                srmn.writeDescriptor(web,
                    RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings[i]);
            }
        }

        if (sunSipApp.getSessionConfig() != null) {
View Full Code Here

Examples of com.sun.enterprise.deployment.node.runtime.common.SecurityRoleMappingNode.writeDescriptor()

  // security-role-mapping
  SecurityRoleMapping[] roleMappings = sunWebApp.getSecurityRoleMapping();
  if (roleMappings!=null && roleMappings.length>0) {
      SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
      for (int i=0;i<roleMappings.length;i++) {
    srmn.writeDescriptor(web, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings[i]);
      }
  }
 
        // servlet
        Set servlets = bundleDescriptor.getServletDescriptors();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.