Examples of writeDescriptor()


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

                                ResourceReferenceDescriptor descriptor) {    
        Node cmp = super.writeDescriptor(parent, nodeName, descriptor);
        appendTextChild(cmp, RuntimeTagNames.JNDI_NAME, descriptor.getJndiName());
        if (descriptor.getResourcePrincipal() != null) {
            DefaultResourcePrincipalNode drpNode = new DefaultResourcePrincipalNode();
            drpNode.writeDescriptor(cmp, RuntimeTagNames.DEFAULT_RESOURCE_PRINCIPAL,
                descriptor.getResourcePrincipal());
        }
        // properties*
        Iterator properties = descriptor.getProperties();
  if (properties!=null) {
View Full Code Here

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

  // ejb-ref*
  Set<EjbReference> ejbRefs = bundleDescriptor.getEjbReferenceDescriptors();
  if (ejbRefs.size()>0) {
      EjbRefNode node = new EjbRefNode();
      for (EjbReference ejbRef : ejbRefs) {
    node.writeDescriptor(web, RuntimeTagNames.EJB_REF, ejbRef);
      }
  }       
 
  // resource-ref*
  Set<ResourceReferenceDescriptor> resourceRefs = bundleDescriptor.getResourceReferenceDescriptors();
View Full Code Here

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

  // resource-ref*
  Set<ResourceReferenceDescriptor> resourceRefs = bundleDescriptor.getResourceReferenceDescriptors();
  if (resourceRefs.size()>0) {
      ResourceRefNode node = new ResourceRefNode();
      for (ResourceReferenceDescriptor resourceRef : resourceRefs) {
    node.writeDescriptor(web, RuntimeTagNames.RESOURCE_REF, resourceRef);
      }
  }
       
  // resource-env-ref*
  Set<ResourceEnvReferenceDescriptor> resourceEnvRefs = bundleDescriptor.getResourceEnvReferenceDescriptors();
View Full Code Here

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

  // resource-env-ref*
  Set<ResourceEnvReferenceDescriptor> resourceEnvRefs = bundleDescriptor.getResourceEnvReferenceDescriptors();
  if (resourceEnvRefs.size()>0) {
      ResourceEnvRefNode node = new ResourceEnvRefNode();
      for (ResourceEnvReferenceDescriptor resourceEnvRef : resourceEnvRefs) {
    node.writeDescriptor(web, RuntimeTagNames.RESOURCE_ENV_REF, resourceEnvRef);
      }
  } 
       
  // service-ref*
  if (bundleDescriptor.hasServiceReferenceDescriptors()) {
View Full Code Here

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

  // resource-env-ref*
  Set<ResourceEnvReferenceDescriptor> resourceEnvRefs = bundleDescriptor.getResourceEnvReferenceDescriptors();
  if (resourceEnvRefs.size()>0) {
      ResourceEnvRefNode node = new ResourceEnvRefNode();
      for (ResourceEnvReferenceDescriptor resourceEnvRef : resourceEnvRefs) {
    node.writeDescriptor(web, RuntimeTagNames.RESOURCE_ENV_REF, resourceEnvRef);
      }
  } 
       
  // service-ref*
  if (bundleDescriptor.hasServiceReferenceDescriptors()) {
View Full Code Here

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

  // resource-ref*
  Set<ResourceReferenceDescriptor> resourceRefs = bundleDescriptor.getResourceReferenceDescriptors();
  if (resourceRefs.size()>0) {
      ResourceRefNode node = new ResourceRefNode();
      for (ResourceReferenceDescriptor resourceRef : resourceRefs) {
    node.writeDescriptor(web, RuntimeTagNames.RESOURCE_REF, resourceRef);
      }
  }
       
  // resource-env-ref*
  Set<ResourceEnvReferenceDescriptor> resourceEnvRefs = bundleDescriptor.getResourceEnvReferenceDescriptors();
View Full Code Here

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

  // resource-env-ref*
  Set<ResourceEnvReferenceDescriptor> resourceEnvRefs = bundleDescriptor.getResourceEnvReferenceDescriptors();
  if (resourceEnvRefs.size()>0) {
      ResourceEnvRefNode node = new ResourceEnvRefNode();
      for (ResourceEnvReferenceDescriptor resourceEnvRef : resourceEnvRefs) {
    node.writeDescriptor(web, RuntimeTagNames.RESOURCE_ENV_REF, resourceEnvRef);
      }
  } 
       
  // service-ref*
  if (bundleDescriptor.hasServiceReferenceDescriptors()) {
View Full Code Here

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

  // ejb-ref*
  EjbRef[] ejbRefs = sunWebApp.getEjbRef();
  if (ejbRefs!=null && ejbRefs.length>0) {
      EjbRefNode node = new EjbRefNode();
      for (int i=0;i<ejbRefs.length;i++) {
    node.writeDescriptor(web, RuntimeTagNames.EJB_REF, ejbRefs[i]);
      }
  }       
 
  // resource-ref*
  ResourceRef[] resourceRefs = sunWebApp.getResourceRef();
View Full Code Here

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

  // resource-ref*
  ResourceRef[] resourceRefs = sunWebApp.getResourceRef();
  if (resourceRefs!=null && resourceRefs.length>0) {
      ResourceRefNode node = new ResourceRefNode();
      for (int i=0;i<resourceRefs.length;i++) {
    node.writeDescriptor(web, RuntimeTagNames.RESOURCE_REF, resourceRefs[i]);
      }
  }
       
  // resource-env-ref*
  ResourceEnvRef[] resourceEnvRefs = sunWebApp.getResourceEnvRef();
View Full Code Here

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

  // resource-env-ref*
  ResourceEnvRef[] resourceEnvRefs = sunWebApp.getResourceEnvRef();
  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*
  if (bundleDescriptor.hasServiceReferenceDescriptors()) {
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.