Package org.jboss.metadata.javaee.spec

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


     
      // mappedName can be null, because an annotation has not been augmented with resolvedJndiName
      if (mappedName == null)
      {
         //
         AnnotatedEJBReferencesMetaData amds = container.getEnvironmentRefGroup().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


      // 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 = container.getEnvironmentRefGroup().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

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

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

      // @PersistenceContext
View Full Code Here

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

/*  899 */     return refs;
/*      */   }
/*      */
/*      */   @XmlTransient
/*      */   public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences() {
/*  905 */     AnnotatedEJBReferencesMetaData refs = null;
/*  906 */     if (this.jndiEnvironmentRefsGroup != null)
/*  907 */       refs = this.jndiEnvironmentRefsGroup.getAnnotatedEjbReferences();
/*  908 */     return refs;
/*      */   }
View Full Code Here

/* 358 */     return null;
/*     */   }
/*     */
/*     */   @XmlTransient
/*     */   public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences() {
/* 364 */     AnnotatedEJBReferencesMetaData refs = null;
/* 365 */     if (this.jndiEnvironmentRefsGroup != null)
/* 366 */       refs = this.jndiEnvironmentRefsGroup.getAnnotatedEjbReferences();
/* 367 */     return refs;
/*     */   }
View Full Code Here

/* 222 */     return null;
/*     */   }
/*     */
/*     */   @XmlTransient
/*     */   public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences() {
/* 228 */     AnnotatedEJBReferencesMetaData refs = null;
/* 229 */     if (this.environment != null)
/* 230 */       refs = this.environment.getAnnotatedEjbReferences();
/* 231 */     return refs;
/*     */   }
View Full Code Here

/*     */
/*     */   public void process(EnvironmentRefsGroupMetaData metaData, Class<?> type)
/*     */   {
/* 143 */     processClass(metaData, type);
/*     */
/* 146 */     AnnotatedEJBReferencesMetaData aejbRefs = metaData.getAnnotatedEjbReferences();
/* 147 */     if (aejbRefs == null)
/*     */     {
/* 149 */       aejbRefs = new AnnotatedEJBReferencesMetaData();
/* 150 */       metaData.setAnnotatedEjbReferences(aejbRefs);
/*     */     }
/* 152 */     processClass(aejbRefs, type);
/*     */
/* 155 */     PersistenceContextReferencesMetaData pcRefs = metaData.getPersistenceContextRefs();
View Full Code Here

/* 217 */     return this.jndiEnvironmentRefsGroup.getEjbReferences();
/*     */   }
/*     */
/*     */   @XmlTransient
/*     */   public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences() {
/* 223 */     AnnotatedEJBReferencesMetaData refs = null;
/* 224 */     if (this.jndiEnvironmentRefsGroup != null)
/* 225 */       refs = this.jndiEnvironmentRefsGroup.getAnnotatedEjbReferences();
/* 226 */     return refs;
/*     */   }
View Full Code Here

/*     */   {
/* 165 */     if (env == null) {
/* 166 */       return null;
/*     */     }
/* 168 */     ArrayList unresolvedRefs = new ArrayList();
/* 169 */     AnnotatedEJBReferencesMetaData annotatedRefs = env.getAnnotatedEjbReferences();
/*     */
/* 171 */     EJBLocalReferencesMetaData localRefs = env.getEjbLocalReferences();
/* 172 */     resolveEjbLocalRefs(unit, localRefs, unresolvedRefs);
/* 173 */     EJBReferencesMetaData ejbRefs = env.getEjbReferences();
/* 174 */     resolveEjbRefs(unit, ejbRefs, unresolvedRefs);
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.