Package org.jboss.ejb

Examples of org.jboss.ejb.MessageDrivenImpl


         }

         ActivationConfigPropertyImpl[] propsArray = new ActivationConfigPropertyImpl[properties
               .size()];
         properties.toArray(propsArray);
         MessageDrivenImpl annotation = new MessageDrivenImpl(ejbName,
               propsArray);
         if (mdb.getMessagingType() != null)
         {
            try
            {
               annotation.setMessageListenerInterface(container
                     .getClassloader().loadClass(mdb.getMessagingType()));
            } catch (ClassNotFoundException e)
            {
               throw new RuntimeException(e);
            }
         }

         if (isAnnotatedBean())
         {
            annotation.merge(ejbClass.getAnnotation(MessageDriven.class));
         }

         addClassAnnotation(container, MessageDriven.class, annotation);

         addDefaultActivationConfig(container, mdb);
View Full Code Here


/*      */       }
/*      */
/*  726 */       ActivationConfigPropertyImpl[] propsArray = new ActivationConfigPropertyImpl[properties.size()];
/*      */
/*  728 */       properties.toArray(propsArray);
/*  729 */       MessageDrivenImpl annotation = new MessageDrivenImpl(ejbName, propsArray);
/*      */
/*  731 */       if (mdb.getMessagingType() != null)
/*      */       {
/*      */         try
/*      */         {
/*  735 */           annotation.setMessageListenerInterface(container.getClassloader().loadClass(mdb.getMessagingType()));
/*      */         }
/*      */         catch (ClassNotFoundException e)
/*      */         {
/*  739 */           throw new RuntimeException(e);
/*      */         }
/*      */       }
/*      */
/*  743 */       if (isAnnotatedBean())
/*      */       {
/*  745 */         annotation.merge((MessageDriven)this.ejbClass.getAnnotation(MessageDriven.class));
/*      */       }
/*      */
/*  748 */       addClassAnnotation(container, MessageDriven.class, annotation);
/*      */
/*  750 */       addDefaultActivationConfig(container, mdb);
View Full Code Here

TOP

Related Classes of org.jboss.ejb.MessageDrivenImpl

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.