Package org.jboss.metadata

Examples of org.jboss.metadata.MessageDestinationRefMetaData


      {
         Iterator i = beanMetaData.getMessageDestinationReferences();

         while (i.hasNext())
         {
            MessageDestinationRefMetaData ref = (MessageDestinationRefMetaData)i.next();

            String refName = ref.getRefName();
            String jndiName = ref.getJNDIName();
            String link = ref.getLink();
            if (link != null)
            {
               if (jndiName == null)
               {
                  MessageDestinationMetaData messageDestination = getMessageDestination(link);
View Full Code Here


   {
      assertNotNull(refs);
      int count = 1;
      while (refs.hasNext())
      {
         MessageDestinationRefMetaData ref = refs.next();
         String pref = prefix + "MessageDestinationRef" + count;
         assertEquals(pref + "Name", ref.getRefName());
         if (full)
         {
            assertEquals(pref + "Type", ref.getType());
            if (count == 1)
               assertEquals(MessageDestinationRefMetaData.CONSUMES, ref.getUsage());
            else if (count == 2)
               assertEquals(MessageDestinationRefMetaData.PRODUCES, ref.getUsage());
            else
               assertEquals(MessageDestinationRefMetaData.CONSUMESPRODUCES, ref.getUsage());
            assertEquals(prefix + "MessageDestinationRef" + count + "Link", ref.getLink());
         }
         ++count;
      }
      assertEquals(size + 1, count);
   }
View Full Code Here

      {
         Iterator i = beanMetaData.getMessageDestinationReferences();

         while (i.hasNext())
         {
            MessageDestinationRefMetaData ref = (MessageDestinationRefMetaData)i.next();

            String refName = ref.getRefName();
            String jndiName = ref.getJNDIName();
            String link = ref.getLink();
            if (link != null)
            {
               if (jndiName == null)
               {
                  MessageDestinationMetaData messageDestination = getMessageDestination(link);
View Full Code Here

/*      */
/* 1395 */     Iterator i = beanMetaData.getMessageDestinationReferences();
/*      */
/* 1397 */     while (i.hasNext())
/*      */     {
/* 1399 */       MessageDestinationRefMetaData ref = (MessageDestinationRefMetaData)i.next();
/*      */
/* 1401 */       String refName = ref.getRefName();
/* 1402 */       String jndiName = ref.getJNDIName();
/* 1403 */       String link = ref.getLink();
/* 1404 */       if (link != null)
/*      */       {
/* 1406 */         if (jndiName == null)
/*      */         {
/* 1408 */           MessageDestinationMetaData messageDestination = getMessageDestination(link);
View Full Code Here

TOP

Related Classes of org.jboss.metadata.MessageDestinationRefMetaData

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.