Package org.jboss.metadata.client.spec

Examples of org.jboss.metadata.client.spec.ApplicationClient5MetaData


   {
      ApplicationClientMetaData specMetaData = unit.getAttachment(ApplicationClientMetaData.class);
      JBossClientMetaData metaData = unit.getAttachment(JBossClientMetaData.class);
      // Check for an annotated view
      String key = AnnotationMetaDataDeployer.CLIENT_ANNOTATED_ATTACHMENT_NAME;
      ApplicationClient5MetaData annotatedMetaData = unit.getAttachment(key, ApplicationClient5MetaData.class);
      if(specMetaData == null && metaData == null && annotatedMetaData == null)
         return;

      if(annotatedMetaData != null)
      {
         if(specMetaData != null)
         {
            ApplicationClient5MetaData specMerged = new ApplicationClient5MetaData();
            AnnotationMergedView.merge(specMerged, specMetaData, annotatedMetaData);
            specMetaData = specMerged;
         }
         else
            specMetaData = annotatedMetaData;
View Full Code Here


/* 51 */     this.processors.add(new ApplicationClientProcessor(finder));
/*    */   }
/*    */
/*    */   public ApplicationClient5MetaData create(Collection<Class<?>> classes)
/*    */   {
/* 56 */     ApplicationClient5MetaData metaData = new ApplicationClient5MetaData();
/* 57 */     metaData.setVersion("5");
/*    */
/* 59 */     for (Iterator i$ = classes.iterator(); i$.hasNext(); ) { cls = (Class)i$.next();
/*    */
/* 61 */       for (Processor processor : this.processors)
/*    */       {
View Full Code Here

/*     */   }
/*     */
/*     */   protected void processJBossClientMetaData(VFSDeploymentUnit unit, AnnotationFinder<AnnotatedElement> finder, Map<VirtualFile, Class<?>> classes)
/*     */   {
/* 209 */     ApplicationClient5MetaDataCreator creator = new ApplicationClient5MetaDataCreator(finder);
/* 210 */     ApplicationClient5MetaData annotationMetaData = creator.create(classes.values());
/* 211 */     if (annotationMetaData != null)
/* 212 */       unit.addAttachment(CLIENT_ANNOTATED_ATTACHMENT_NAME, annotationMetaData, ApplicationClientMetaData.class);
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.metadata.client.spec.ApplicationClient5MetaData

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.