Package org.jboss.metamodel.descriptor

Examples of org.jboss.metamodel.descriptor.ResourceRef


         tmpRef.merge(ref);
   }

   public void mergeResourceRef(ResourceRef ref)
   {
      ResourceRef tmpRef = (ResourceRef)resourceRefs.get(ref.getResRefName());
      if (tmpRef != null)
         tmpRef.merge(ref);
   }
View Full Code Here


      {
         ResourceReferencesMetaData rrefs = refs.getResourceReferences();
         if(rrefs != null)
         for(ResourceReferenceMetaData rref : rrefs)
         {
            ResourceRef ref = new ResourceRef();
            ref.setResRefName(rref.getResourceRefName());
            ref.setIgnoreDependency(ref.isIgnoreDependency());
            ref.setResType(rref.getType());
            ref.setJndiName(rref.getJndiName());
            ref.setMappedName(rref.getMappedName());
            ref.setResUrl(rref.getResUrl());
            ResourceAuthorityType authType = rref.getResAuth();
            if(authType != null)
               ref.setResAuth(authType.name());
            ref.setInjectionTarget(getInjectionTarget(rref.getInjectionTargets()));
            resourceRefs.put(ref.getResRefName(), ref);
         }
         log.info("Converted "+resourceRefs.size()+" resRefs: "+resourceRefs.keySet());
         convertedResourceRefs = true;
      }
      return super.getResourceRefs();
View Full Code Here

/* 157 */       tmpRef.merge(ref);
/*     */   }
/*     */
/*     */   public void mergeResourceRef(ResourceRef ref)
/*     */   {
/* 162 */     ResourceRef tmpRef = (ResourceRef)this.resourceRefs.get(ref.getResRefName());
/* 163 */     if (tmpRef != null)
/* 164 */       tmpRef.merge(ref);
/*     */   }
View Full Code Here

/*     */     {
/* 233 */       ResourceReferencesMetaData rrefs = this.refs.getResourceReferences();
/* 234 */       if (rrefs != null)
/* 235 */         for (ResourceReferenceMetaData rref : rrefs)
/*     */         {
/* 237 */           ResourceRef ref = new ResourceRef();
/* 238 */           ref.setResRefName(rref.getResourceRefName());
/* 239 */           ref.setIgnoreDependency(ref.isIgnoreDependency());
/* 240 */           ref.setResType(rref.getType());
/* 241 */           ref.setJndiName(rref.getJndiName());
/* 242 */           ref.setMappedName(rref.getMappedName());
/* 243 */           ref.setResUrl(rref.getResUrl());
/* 244 */           ResourceAuthorityType authType = rref.getResAuth();
/* 245 */           if (authType != null)
/* 246 */             ref.setResAuth(authType.name());
/* 247 */           ref.setInjectionTarget(getInjectionTarget(rref.getInjectionTargets()));
/* 248 */           this.resourceRefs.put(ref.getResRefName(), ref);
/*     */         }
/* 250 */       log.info("Converted " + this.resourceRefs.size() + " resRefs: " + this.resourceRefs.keySet());
/* 251 */       this.convertedResourceRefs = true;
/*     */     }
/* 253 */     return super.getResourceRefs();
View Full Code Here

TOP

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

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.