Examples of writeDescriptor()


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

        //ejb-reference-description*
        EjbRef[] ejbRefs = sunWebApp.getEjbRef();
        if (ejbRefs != null && ejbRefs.length > 0) {
            WLEjbReferenceDescriptionNode node = new WLEjbReferenceDescriptionNode();
            for (EjbRef ejbRef : ejbRefs) {
                node.writeDescriptor(root, RuntimeTagNames.EJB_REF, ejbRef);
            }
        }

        // session-descriptor
        WLSessionDescriptorNode sessionDescriptorNode = new WLSessionDescriptorNode();
View Full Code Here

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

        //resource-description*
        ResourceRef[] resourceRefs = sunWebApp.getResourceRef();
        if (resourceRefs != null && resourceRefs.length > 0) {
            WLResourceDescriptionNode node = new WLResourceDescriptionNode();
            for (ResourceRef resRef : resourceRefs) {
                node.writeDescriptor(root, RuntimeTagNames.RESOURCE_DESCRIPTION, resRef);
            }
        }

        //resource-env-description*
        ResourceEnvRef[] resourceEnvRefs = sunWebApp.getResourceEnvRef();
View Full Code Here

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

        //resource-env-description*
        ResourceEnvRef[] resourceEnvRefs = sunWebApp.getResourceEnvRef();
        if (resourceEnvRefs != null && resourceEnvRefs.length > 0) {
            WLResourceEnvDescriptionNode node = new WLResourceEnvDescriptionNode();
            for (ResourceEnvRef resourceEnvRef : resourceEnvRefs) {
                node.writeDescriptor(root, RuntimeTagNames.RESOURCE_ENV_DESCRIPTION, resourceEnvRef);
            }
        }

        //ejb-reference-description*
        EjbRef[] ejbRefs = sunWebApp.getEjbRef();
View Full Code Here

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

        }

        List<WLSecurityRoleAssignment> wlRoleAssignments = application.getWlRoleAssignments();
        for (int i = 0; i < wlRoleAssignments.size(); i++) {
            WLSecurityRoleAssignmentNode sran = new WLSecurityRoleAssignmentNode();
            sran.writeDescriptor(root, RuntimeTagNames.WL_SECURITY_ROLE_ASSIGNMENT, wlRoleAssignments.get(i));
        }
        return root;
    }
}
View Full Code Here

Examples of com.sun.enterprise.deployment.node.web.InitParamNode.writeDescriptor()

        if (!initParams.isEmpty()) {
            InitParamNode initParamNode = new InitParamNode();

            for (Iterator e = initParams.iterator(); e.hasNext();) {
                EnvironmentProperty ep = (EnvironmentProperty) e.next();
                initParamNode.writeDescriptor(parentNode, nodeName, ep);
            }
        }
    }

    static void addInitParam(Node parentNode, String nodeName,
View Full Code Here

Examples of com.sun.enterprise.deployment.node.web.InitParamNode.writeDescriptor()

        Enumeration initParams) {
        InitParamNode initParamNode = new InitParamNode();

        while (initParams.hasMoreElements()) {
            EnvironmentProperty ep = (EnvironmentProperty) initParams.nextElement();
            initParamNode.writeDescriptor(parentNode, nodeName, ep);
        }
    }

    /**
     * @return the default spec version level this node complies to
View Full Code Here

Examples of org.platformlayer.ops.backups.BackupContext.writeDescriptor()

              newState = ManagedItemState.DELETED;
            }

            if (action instanceof BackupAction) {
              BackupContext backupContext = scope.getInstance(BackupContext.class);
              backupContext.writeDescriptor();
            }

            return newState;
          }
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.