Package org.jboss.metadata.javaee.spec

Examples of org.jboss.metadata.javaee.spec.EJBReferencesMetaData


      AnnotatedEJBReferencesMetaData annotatedRefs = env.getAnnotatedEjbReferences();
      resolveEjbAnnotatedRefs(cdmd, unit, endpointMap, annotatedRefs, resolver, unresolvedRefs);
      EJBLocalReferencesMetaData localRefs = env.getEjbLocalReferences();
      resolveEjbLocalRefs(cdmd, unit, endpointMap, localRefs, resolver, unresolvedRefs);
      EJBReferencesMetaData ejbRefs = env.getEjbReferences();
      resolveEjbRefs(cdmd, unit, endpointMap, ejbRefs, resolver, unresolvedRefs);
      MessageDestinationReferencesMetaData msgRefs = env.getMessageDestinationReferences();
      resolveMsgRefs(cdmd, unit, endpointMap, msgRefs, resolver, unresolvedRefs);
      // TODO, other references
   }
View Full Code Here


            tmp.append("| resolvedJndiName=");
            tmp.append(ref.getResolvedJndiName());
            tmp.append('\n');
         }
      }
      EJBReferencesMetaData ejbRefs = env.getEjbReferences();
      if(ejbRefs != null)
      {
         for(EJBReferenceMetaData ref : ejbRefs)
         {
            for(int n = 0; n < depth+1; n ++)
View Full Code Here

     
      EJBLocalReferencesMetaData localRefs = env.getEjbLocalReferences();
      resolveEjbLocalRefs(unit, localRefs, unresolvedRefs);
      AnnotatedEJBReferencesMetaData annotatedRefs = env.getAnnotatedEjbReferences();
      resolveAnnotatedRefs(unit, annotatedRefs, unresolvedRefs);
      EJBReferencesMetaData ejbRefs = env.getEjbReferences();
      resolveEjbRefs(unit, ejbRefs, unresolvedRefs);
      MessageDestinationReferencesMetaData msgRefs = env.getMessageDestinationReferences();
      resolveMsgRefs(unit, msgRefs, unresolvedRefs);
      // TODO, other references
   }
View Full Code Here

      log.debug("linkResourceRefs");
      linkResourceRefs(resourceRefs, envCtx);
      log.debug("linkMessageDestinationRefs");
      MessageDestinationReferencesMetaData msgRefs = metaData.getMessageDestinationReferences();
      linkMessageDestinationRefs(unit, msgRefs, envCtx);
      EJBReferencesMetaData ejbRefs = metaData.getEjbReferences();
      log.debug("linkEjbRefs");
      linkEjbRefs(unit, ejbRefs, envCtx);
      EJBLocalReferencesMetaData ejbLocalRefs = metaData.getEjbLocalReferences();
      log.debug("linkEjbLocalRefs");
      linkEjbLocalRefs(unit, ejbLocalRefs, envCtx);
View Full Code Here

   }

   @XmlTransient
   public EJBReferencesMetaData getEjbReferences()
   {
      EJBReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getEjbReferences();
      return refs;
   }
View Full Code Here

    *
    * @return the ejb references
    */
   public Iterator<EjbRefMetaData> getEjbReferences()
   {
      EJBReferencesMetaData ejbRefs = getDelegate().getEjbReferences();
      return new OldMetaDataIterator<EJBReferenceMetaData, EjbRefMetaData>(ejbRefs, EJBReferenceMetaData.class, EjbRefMetaData.class);
   }
View Full Code Here

     
      if (jbossEnvironmentRefsGroup == null && environmentRefsGroup == null)
         return merged;

      EnvironmentEntriesMetaData envEntries = null;
      EJBReferencesMetaData ejbRefs = null;
      EJBReferencesMetaData jbossEjbRefs = null;
      ServiceReferencesMetaData serviceRefs = null;
      ServiceReferencesMetaData jbossServiceRefs = null;
      ResourceReferencesMetaData resRefs = null;
      ResourceReferencesMetaData jbossResRefs = null;
      ResourceEnvironmentReferencesMetaData resEnvRefs = null;
      ResourceEnvironmentReferencesMetaData jbossResEnvRefs = null;
      MessageDestinationReferencesMetaData messageDestinationRefs = null;
      MessageDestinationReferencesMetaData jbossMessageDestinationRefs = null;
      PersistenceUnitReferencesMetaData persistenceUnitRefs = null;
      LifecycleCallbacksMetaData postConstructs = null;
      LifecycleCallbacksMetaData preDestroys = null;
     
      if (environmentRefsGroup != null)
      {
         envEntries = environmentRefsGroup.getEnvironmentEntries();
         ejbRefs = environmentRefsGroup.getEjbReferences();
         serviceRefs = environmentRefsGroup.getServiceReferences();
         resRefs = environmentRefsGroup.getResourceReferences();
         resEnvRefs = environmentRefsGroup.getResourceEnvironmentReferences();
         messageDestinationRefs = environmentRefsGroup.getMessageDestinationReferences();
         persistenceUnitRefs = environmentRefsGroup.getPersistenceUnitRefs();
         postConstructs = environmentRefsGroup.getPostConstructs();
         preDestroys = environmentRefsGroup.getPreDestroys();
      }
     
      if (jbossEnvironmentRefsGroup != null)
      {
         jbossEjbRefs = jbossEnvironmentRefsGroup.getEjbReferences();
         jbossServiceRefs = jbossEnvironmentRefsGroup.getServiceReferences();
         jbossResRefs = jbossEnvironmentRefsGroup.getResourceReferences();
         jbossResEnvRefs = jbossEnvironmentRefsGroup.getResourceEnvironmentReferences();
         jbossMessageDestinationRefs = jbossEnvironmentRefsGroup.getMessageDestinationReferences();
      }
     
      EJBReferencesMetaData mergedEjbRefs = EJBReferencesMetaData.merge(jbossEjbRefs, ejbRefs, overridenFile, overrideFile, mustOverride);
      if (mergedEjbRefs != null)
         merged.setEjbReferences(mergedEjbRefs);
     
      ServiceReferencesMetaData mergedServiceRefs = ServiceReferencesMetaData.merge(jbossServiceRefs, serviceRefs, overridenFile, overrideFile);
      if (mergedServiceRefs != null)
View Full Code Here

   }

   @XmlTransient
   public EJBReferencesMetaData getEjbReferences()
   {
      EJBReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getEjbReferences();
      return refs;
   }
View Full Code Here

     
      if (jbossEnvironmentRefsGroup == null && environmentRefsGroup == null)
         return merged;

      EnvironmentEntriesMetaData envEntries = null;
      EJBReferencesMetaData ejbRefs = null;
      EJBReferencesMetaData jbossEjbRefs = null;
      ServiceReferencesMetaData serviceRefs = null;
      ServiceReferencesMetaData jbossServiceRefs = null;
      ResourceReferencesMetaData resRefs = null;
      ResourceReferencesMetaData jbossResRefs = null;
      ResourceEnvironmentReferencesMetaData resEnvRefs = null;
      ResourceEnvironmentReferencesMetaData jbossResEnvRefs = null;
      MessageDestinationReferencesMetaData messageDestinationRefs = null;
      MessageDestinationReferencesMetaData jbossMessageDestinationRefs = null;
      PersistenceUnitReferencesMetaData persistenceUnitRefs = null;
      LifecycleCallbacksMetaData postConstructs = null;
      LifecycleCallbacksMetaData preDestroys = null;
     
      if (environmentRefsGroup != null)
      {
         envEntries = environmentRefsGroup.getEnvironmentEntries();
         ejbRefs = environmentRefsGroup.getEjbReferences();
         serviceRefs = environmentRefsGroup.getServiceReferences();
         resRefs = environmentRefsGroup.getResourceReferences();
         resEnvRefs = environmentRefsGroup.getResourceEnvironmentReferences();
         messageDestinationRefs = environmentRefsGroup.getMessageDestinationReferences();
         persistenceUnitRefs = environmentRefsGroup.getPersistenceUnitRefs();
         postConstructs = environmentRefsGroup.getPostConstructs();
         preDestroys = environmentRefsGroup.getPreDestroys();
      }
     
      if (jbossEnvironmentRefsGroup != null)
      {
         jbossEjbRefs = jbossEnvironmentRefsGroup.getEjbReferences();
         jbossServiceRefs = jbossEnvironmentRefsGroup.getServiceReferences();
         jbossResRefs = jbossEnvironmentRefsGroup.getResourceReferences();
         jbossResEnvRefs = jbossEnvironmentRefsGroup.getResourceEnvironmentReferences();
         jbossMessageDestinationRefs = jbossEnvironmentRefsGroup.getMessageDestinationReferences();
      }
     
      EJBReferencesMetaData mergedEjbRefs = EJBReferencesMetaData.merge(jbossEjbRefs, ejbRefs, overridenFile, overrideFile, mustOverride);
      if (mergedEjbRefs != null)
         merged.setEjbReferences(mergedEjbRefs);
     
      ServiceReferencesMetaData mergedServiceRefs = ServiceReferencesMetaData.merge(jbossServiceRefs, serviceRefs, overridenFile, overrideFile);
      if (mergedServiceRefs != null)
View Full Code Here

   }

   @XmlTransient
   public EJBReferencesMetaData getEjbReferences()
   {
      EJBReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getEjbReferences();
      return refs;
   }
View Full Code Here

TOP

Related Classes of org.jboss.metadata.javaee.spec.EJBReferencesMetaData

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.