Package org.jboss.metadata.javaee.spec

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


    *
    * @return the usage.
    */
   public int getUsage()
   {
      MessageDestinationUsageType usage = getDelegate().getMessageDestinationUsage();
      if (usage == null)
         return 0;
      if (usage == MessageDestinationUsageType.Consumes)
         return CONSUMES;
      if (usage == MessageDestinationUsageType.Produces)
View Full Code Here


            ref.setMappedName(mref.getMappedName());
            ref.setJndiName(mref.getMappedName());
            ref.setMessageDestinationLink(mref.getLink());
            ref.setMessageDestinationRefName(mref.getMessageDestinationRefName());
            ref.setMessageDestinationType(mref.getType());
            MessageDestinationUsageType usage = mref.getMessageDestinationUsage();
            if(usage != null)
               ref.setMessageDestinationUsage(usage.name());
            messageDestinationRefs.put(ref.getMessageDestinationRefName(), ref);
         }
         log.info("Converted "+messageDestinationRefs.size()+" msgRefs: "+messageDestinationRefs.keySet());
         convertedMessageDestinationRefs = true;
      }
View Full Code Here

/* 173 */           ref.setMappedName(mref.getMappedName());
/* 174 */           ref.setJndiName(mref.getMappedName());
/* 175 */           ref.setMessageDestinationLink(mref.getLink());
/* 176 */           ref.setMessageDestinationRefName(mref.getMessageDestinationRefName());
/* 177 */           ref.setMessageDestinationType(mref.getType());
/* 178 */           MessageDestinationUsageType usage = mref.getMessageDestinationUsage();
/* 179 */           if (usage != null)
/* 180 */             ref.setMessageDestinationUsage(usage.name());
/* 181 */           this.messageDestinationRefs.put(ref.getMessageDestinationRefName(), ref);
/*     */         }
/* 183 */       log.info("Converted " + this.messageDestinationRefs.size() + " msgRefs: " + this.messageDestinationRefs.keySet());
/* 184 */       this.convertedMessageDestinationRefs = true;
/*     */     }
View Full Code Here

/* 117 */     return ((MessageDestinationReferenceMetaData)getDelegate()).getType();
/*     */   }
/*     */
/*     */   public int getUsage()
/*     */   {
/* 127 */     MessageDestinationUsageType usage = ((MessageDestinationReferenceMetaData)getDelegate()).getMessageDestinationUsage();
/* 128 */     if (usage == null)
/* 129 */       return 0;
/* 130 */     if (usage == MessageDestinationUsageType.Consumes)
/* 131 */       return 1;
/* 132 */     if (usage == MessageDestinationUsageType.Produces)
View Full Code Here

TOP

Related Classes of org.jboss.metadata.javaee.spec.MessageDestinationUsageType

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.