Package com.sun.enterprise.deployment.node.runtime.common

Examples of com.sun.enterprise.deployment.node.runtime.common.EjbRefNode


  }
       
  // 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();
  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();
  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


        // ejb-ref*
        EjbRef[] ejbRefs = sunSipApp.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 = sunSipApp.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 = sunSipApp.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*
 
View Full Code Here

  }
       
  // 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();
  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();
  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

Related Classes of com.sun.enterprise.deployment.node.runtime.common.EjbRefNode

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.