Package org.jboss.metamodel.descriptor

Examples of org.jboss.metamodel.descriptor.ResourceEnvRef


         tmpRef.merge(ref);
   }

   public void mergeResourceEnvRef(ResourceEnvRef ref)
   {
      ResourceEnvRef tmpRef = (ResourceEnvRef)resourceEnvRefs.get(ref.getResRefName());
      if (tmpRef != null)
         tmpRef.merge(ref);
   }
View Full Code Here


      {
         ResourceEnvironmentReferencesMetaData rrefs = refs.getResourceEnvironmentReferences();
         if(rrefs != null)
         for(ResourceEnvironmentReferenceMetaData rref : rrefs)
         {
            ResourceEnvRef ref = new ResourceEnvRef();
            ref.setResRefName(rref.getResourceEnvRefName());
            ref.setIgnoreDependency(ref.isIgnoreDependency());
            ref.setResType(rref.getType());
            ref.setJndiName(rref.getJndiName());
            ref.setMappedName(rref.getMappedName());
            ref.setResAuth("Container");
            ref.setInjectionTarget(getInjectionTarget(rref.getInjectionTargets()));
            resourceEnvRefs.put(ref.getResRefName(), ref);
         }
         log.info("Converted "+resourceEnvRefs.size()+" envRefs: "+resourceEnvRefs.keySet());
         convertedResourceEnvRefs = true;
      }
      return super.getResourceEnvRefs();
View Full Code Here

/* 164 */       tmpRef.merge(ref);
/*     */   }
/*     */
/*     */   public void mergeResourceEnvRef(ResourceEnvRef ref)
/*     */   {
/* 169 */     ResourceEnvRef tmpRef = (ResourceEnvRef)this.resourceEnvRefs.get(ref.getResRefName());
/* 170 */     if (tmpRef != null)
/* 171 */       tmpRef.merge(ref);
/*     */   }
View Full Code Here

/*     */     {
/* 208 */       ResourceEnvironmentReferencesMetaData rrefs = this.refs.getResourceEnvironmentReferences();
/* 209 */       if (rrefs != null)
/* 210 */         for (ResourceEnvironmentReferenceMetaData rref : rrefs)
/*     */         {
/* 212 */           ResourceEnvRef ref = new ResourceEnvRef();
/* 213 */           ref.setResRefName(rref.getResourceEnvRefName());
/* 214 */           ref.setIgnoreDependency(ref.isIgnoreDependency());
/* 215 */           ref.setResType(rref.getType());
/* 216 */           ref.setJndiName(rref.getJndiName());
/* 217 */           ref.setMappedName(rref.getMappedName());
/* 218 */           ref.setResAuth("Container");
/* 219 */           ref.setInjectionTarget(getInjectionTarget(rref.getInjectionTargets()));
/* 220 */           this.resourceEnvRefs.put(ref.getResRefName(), ref);
/*     */         }
/* 222 */       log.info("Converted " + this.resourceEnvRefs.size() + " envRefs: " + this.resourceEnvRefs.keySet());
/* 223 */       this.convertedResourceEnvRefs = true;
/*     */     }
/* 225 */     return super.getResourceEnvRefs();
View Full Code Here

TOP

Related Classes of org.jboss.metamodel.descriptor.ResourceEnvRef

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.