Package org.jboss.metadata.javaee.spec

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


      if (mappedName != null && mappedName.trim().equals(""))
         mappedName = null;
      if (mappedName == null)
      {
         //
         AnnotatedEJBReferencesMetaData amds = container.getEnvironmentRefGroup().getAnnotatedEjbReferences();
         if(amds != null)
         {
            AnnotatedEJBReferenceMetaData amd = amds.get(encName);
            if(amd == null && fieldName != null)
               amd = amds.get(fieldName);
            if(amd != null)
            {
               mappedName = amd.getMappedName();
               if(mappedName == null)
                  mappedName = amd.getResolvedJndiName();
View Full Code Here


      // Currently encName has 'env/' prepended (see getEncName)
      assert lookupName.startsWith("env/") : "encName used to start with 'env/'";
      lookupName = lookupName.substring(4);
     
      // EJBTHREE-1289: find a resolved jndi name
      AnnotatedEJBReferencesMetaData amds = webDD.getJndiEnvironmentRefsGroup().getAnnotatedEjbReferences();
      if(amds != null)
      {
         AnnotatedEJBReferenceMetaData amd = amds.get(lookupName);
         if (amd == null && fieldName != null)
         {
            lookupName = fieldName;
            amd = amds.get(lookupName);
         }
         if (amd != null)
         {
            mappedName = amd.getMappedName();
            if (mappedName == null)
View Full Code Here

      throws Exception
   {
      if(env == null)
         return;

      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);
View Full Code Here

   private void dumpEnv(Environment env, StringBuffer tmp, int depth)
   {
      if(env == null)
         return;

      AnnotatedEJBReferencesMetaData annotatedRefs = env.getAnnotatedEjbReferences();
      if(annotatedRefs != null)
      {
         for(AnnotatedEJBReferenceMetaData ref : annotatedRefs)
         {
            for(int n = 0; n < depth+1; n ++)
View Full Code Here

      if(env == null)
         return;
     
      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);
View Full Code Here

   }
   // TODO?
   @XmlTransient
   public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
   {
      AnnotatedEJBReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getAnnotatedEjbReferences();
      return refs;
   }
View Full Code Here

   {
      // @Resources/@Resource
      processClass(metaData, type, RemoteEnvironmentRefsGroupMetaData.class);

      // @EJBs/@EJB
      AnnotatedEJBReferencesMetaData aejbRefs = metaData.getAnnotatedEjbReferences();
      if(aejbRefs == null)
      {
         aejbRefs = new AnnotatedEJBReferencesMetaData();
         metaData.setAnnotatedEjbReferences(aejbRefs);
      }
      processClass(aejbRefs, type);

      // @PersistenceUnit
View Full Code Here

   }
   // TODO?
   @XmlTransient
   public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
   {
      AnnotatedEJBReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getAnnotatedEjbReferences();
      return refs;
   }
View Full Code Here

   }
   // TODO?
   @XmlTransient
   public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
   {
      AnnotatedEJBReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getAnnotatedEjbReferences();
      return refs;
   }
View Full Code Here

   }
   // TODO?
   @XmlTransient
   public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
   {
      AnnotatedEJBReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getAnnotatedEjbReferences();
      return refs;
   }
View Full Code Here

TOP

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

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.