Package org.jboss.metamodel.descriptor

Examples of org.jboss.metamodel.descriptor.InjectionTarget


      {
         child = new XmlAnnotation();
      }
      else if (localName.equals("ignore-dependency"))
      {
         child = new InjectionTarget();
      }
      else if (localName.equals("remote-binding"))
      {
         child = new RemoteBinding();
      }
View Full Code Here


      if ((child = this.newEnvRefGroupChild(localName)) != null)
         return child;

      if (localName.equals("ignore-dependency"))
      {
         child = new InjectionTarget();
      }
      else if (localName.equals("annotation"))
      {
         child = new XmlAnnotation();
      }
View Full Code Here

      {
         child = new XmlAnnotation();
      }
      else if (localName.equals("ignore-dependency"))
      {
         child = new InjectionTarget();
      }
      else if (localName.equals("cluster-config"))
      {
         child = new ClusterConfig();
      }
View Full Code Here

   {
      Object child = null;

      if (localName.equals("injection-target"))
      {
         child = new InjectionTarget();
      }
      else if (localName.equals("property"))
      {
         child = new NameValuePair();
      }
View Full Code Here

               ee.setEnvEntryValue(entry.getValue());
               Set<ResourceInjectionTargetMetaData> rits = entry.getInjectionTargets();
               if(rits != null && rits.isEmpty() == false)
               {
                  ResourceInjectionTargetMetaData rit = rits.iterator().next();
                  InjectionTarget it = new InjectionTarget();
                  it.setTargetClass(rit.getInjectionTargetClass());
                  it.setTargetName(rit.getInjectionTargetName());
                  ee.setInjectionTarget(it);
               }
               ee.setIgnoreDependency(entry.isDependencyIgnored());
               envEntries.put(ee.getEnvEntryName(), ee);
            }
View Full Code Here

      return super.getServiceRefs();
   }

   private InjectionTarget getInjectionTarget(Set<ResourceInjectionTargetMetaData> rits)
   {
      InjectionTarget it = null;
      if(rits != null && rits.isEmpty() == false)
      {
         ResourceInjectionTargetMetaData rit = rits.iterator().next();
         it = new InjectionTarget();
         it.setTargetClass(rit.getInjectionTargetClass());
         it.setTargetName(rit.getInjectionTargetName());
      }
      return it;
   }
View Full Code Here

/* 128 */           ee.setEnvEntryValue(entry.getValue());
/* 129 */           Set rits = entry.getInjectionTargets();
/* 130 */           if ((rits != null) && (!rits.isEmpty()))
/*     */           {
/* 132 */             ResourceInjectionTargetMetaData rit = (ResourceInjectionTargetMetaData)rits.iterator().next();
/* 133 */             InjectionTarget it = new InjectionTarget();
/* 134 */             it.setTargetClass(rit.getInjectionTargetClass());
/* 135 */             it.setTargetName(rit.getInjectionTargetName());
/* 136 */             ee.setInjectionTarget(it);
/*     */           }
/* 138 */           ee.setIgnoreDependency(entry.isDependencyIgnored());
/* 139 */           this.envEntries.put(ee.getEnvEntryName(), ee);
/*     */         }
View Full Code Here

/* 271 */     return super.getServiceRefs();
/*     */   }
/*     */
/*     */   private InjectionTarget getInjectionTarget(Set<ResourceInjectionTargetMetaData> rits)
/*     */   {
/* 276 */     InjectionTarget it = null;
/* 277 */     if ((rits != null) && (!rits.isEmpty()))
/*     */     {
/* 279 */       ResourceInjectionTargetMetaData rit = (ResourceInjectionTargetMetaData)rits.iterator().next();
/* 280 */       it = new InjectionTarget();
/* 281 */       it.setTargetClass(rit.getInjectionTargetClass());
/* 282 */       it.setTargetName(rit.getInjectionTargetName());
/*     */     }
/* 284 */     return it;
/*     */   }
View Full Code Here

/*      */     {
/*  178 */       child = new XmlAnnotation();
/*      */     }
/*  180 */     else if (localName.equals("ignore-dependency"))
/*      */     {
/*  182 */       child = new InjectionTarget();
/*      */     }
/*  184 */     else if (localName.equals("remote-binding"))
/*      */     {
/*  186 */       child = new RemoteBinding();
/*      */     }
View Full Code Here

/*  203 */     if ((child = newEnvRefGroupChild(localName)) != null) {
/*  204 */       return child;
/*      */     }
/*  206 */     if (localName.equals("ignore-dependency"))
/*      */     {
/*  208 */       child = new InjectionTarget();
/*      */     }
/*  210 */     else if (localName.equals("annotation"))
/*      */     {
/*  212 */       child = new XmlAnnotation();
/*      */     }
View Full Code Here

TOP

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

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.