Examples of MDB


Examples of org.jboss.ejb3.mdb.MDB

               container.setJaccContextId(getJaccContextId());
               containers.add(container);
            }
            else if (ejbType == EJB_TYPE.MESSAGE_DRIVEN)
            {
               MDB container = getMDB(ejbIndex, (JBossMessageDrivenBeanMetaData) enterpriseBean);
               container.setJaccContextId(getJaccContextId());
               containers.add(container);
            }
            else if (ejbType == EJB_TYPE.SERVICE)
            {
               ServiceContainer container = getServiceContainer(ejbIndex, (JBossServiceBeanMetaData) enterpriseBean);
               container.setJaccContextId(getJaccContextId());
               containers.add(container);
            }
            else if (ejbType == EJB_TYPE.CONSUMER)
            {
               ConsumerContainer container = getConsumerContainer(ejbIndex, (JBossConsumerBeanMetaData) enterpriseBean);
               container.setJaccContextId(getJaccContextId());
               containers.add(container);
            }
            log.debug("found EJB3: ejbName=" + ejbName + ", class=" + className + ", type=" + ejbType);
         }
      }
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

   @Override
   protected MDB getMDB(int ejbIndex, JBossMessageDrivenBeanMetaData enterpriseBean) throws Exception
   {
      String ejbName = ejbNames.get(ejbIndex);

      MDB container = super.getMDB(ejbIndex, enterpriseBean);

      container.setAssemblyDescriptor(dd.getAssemblyDescriptor());

      if(enterpriseBean instanceof JBossMessageDrivenBeanMetaData)
         addMDBAnnotations(container, ejbName, (JBossMessageDrivenBeanMetaData) enterpriseBean);
      /*
      else if(enterpriseBean instanceof JBossGenericBeanMetaData)
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

/*  419 */           container.setJaccContextId(getJaccContextId());
/*  420 */           containers.add(container);
/*      */         }
/*  422 */         else if (this.ejbType == Ejb3AnnotationHandler.EJB_TYPE.MESSAGE_DRIVEN)
/*      */         {
/*  424 */           MDB container = getMDB(ejbIndex);
/*  425 */           container.setJaccContextId(getJaccContextId());
/*  426 */           containers.add(container);
/*      */         }
/*  428 */         else if (this.ejbType == Ejb3AnnotationHandler.EJB_TYPE.SERVICE)
/*      */         {
/*  430 */           ServiceContainer container = getServiceContainer(ejbIndex);
/*  431 */           container.setJaccContextId(getJaccContextId());
/*  432 */           containers.add(container);
/*      */         }
/*  434 */         else if (this.ejbType == Ejb3AnnotationHandler.EJB_TYPE.CONSUMER)
/*      */         {
/*  436 */           ConsumerContainer container = getConsumerContainer(ejbIndex);
/*  437 */           container.setJaccContextId(getJaccContextId());
/*  438 */           containers.add(container);
/*      */         }
/*  440 */         log.debug("found EJB3: ejbName=" + ejbName + ", class=" + this.className + ", type=" + this.ejbType);
/*      */       }
/*      */     }
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

/*      */   {
/*  595 */     String ejbName = (String)this.ejbNames.get(ejbIndex);
/*      */
/*  597 */     JBossEnterpriseBeanMetaData enterpriseBean = (JBossEnterpriseBeanMetaData)this.ejbs.get(ejbIndex);
/*      */
/*  599 */     MDB container = super.getMDB(ejbIndex);
/*      */
/*  601 */     container.setAssemblyDescriptor(this.dd.getAssemblyDescriptor());
/*      */
/*  603 */     if ((enterpriseBean instanceof JBossMessageDrivenBeanMetaData)) {
/*  604 */       addMDBAnnotations(container, ejbName, (JBossMessageDrivenBeanMetaData)enterpriseBean);
/*  605 */     } else if ((enterpriseBean instanceof JBossGenericBeanMetaData))
/*      */     {
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

/* 150 */         container.setJaccContextId(getJaccContextId());
/* 151 */         containers.add(container);
/*     */       }
/* 153 */       else if (this.ejbType == EJB_TYPE.MESSAGE_DRIVEN)
/*     */       {
/* 155 */         MDB container = getMDB(ejbIndex);
/* 156 */         validateMDBTransactionAttribute(container);
/* 157 */         container.setJaccContextId(getJaccContextId());
/* 158 */         containers.add(container);
/*     */       }
/* 160 */       else if (this.ejbType == EJB_TYPE.SERVICE)
/*     */       {
/* 162 */         ServiceContainer container = getServiceContainer(ejbIndex);
/* 163 */         container.setJaccContextId(getJaccContextId());
/* 164 */         containers.add(container);
/*     */       }
/* 166 */       else if (this.ejbType == EJB_TYPE.CONSUMER)
/*     */       {
/* 168 */         ConsumerContainer container = getConsumerContainer(ejbIndex);
/* 169 */         container.setJaccContextId(getJaccContextId());
/* 170 */         containers.add(container);
/*     */       }
/* 172 */       log.debug("found EJB3: ejbName=" + ejbName + ", class=" + this.className + ", type=" + this.ejbType);
/*     */     }
/*     */
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

/*     */
/* 278 */     if (domain == null) {
/* 279 */       throw new RuntimeException("No container configured with name '" + containerName + "''");
/*     */     }
/*     */
/* 282 */     MDB container = new MDB((String)this.ejbNames.get(ejbIndex), domain.getManager(), this.di.getClassLoader(), this.className, this.ctxProperties, this.di.getInterceptorInfoRepository(), this.deployment);
/*     */
/* 285 */     return container;
/*     */   }
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

               container.setJaccContextId(getJaccContextId());
               containers.add(container);
            }
            else if (ejbType == EJB_TYPE.MESSAGE_DRIVEN)
            {
               MDB container = getMDB(ejbIndex, (JBossMessageDrivenBeanMetaData) enterpriseBean);
               container.setJaccContextId(getJaccContextId());
               containers.add(container);
            }
            else if (ejbType == EJB_TYPE.SERVICE)
            {
               ServiceContainer container = getServiceContainer(ejbIndex, (JBossServiceBeanMetaData) enterpriseBean);
               container.setJaccContextId(getJaccContextId());
               containers.add(container);
            }
            else if (ejbType == EJB_TYPE.CONSUMER)
            {
               ConsumerContainer container = getConsumerContainer(ejbIndex, (JBossConsumerBeanMetaData) enterpriseBean);
               container.setJaccContextId(getJaccContextId());
               containers.add(container);
            }
            log.debug("found EJB3: ejbName=" + ejbName + ", class=" + className + ", type=" + ejbType);
         }
      }
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

   @Override
   protected MDB getMDB(int ejbIndex, JBossMessageDrivenBeanMetaData enterpriseBean) throws Exception
   {
      String ejbName = ejbNames.get(ejbIndex);

      MDB container = super.getMDB(ejbIndex, enterpriseBean);

      container.setAssemblyDescriptor(dd.getAssemblyDescriptor());

      if(enterpriseBean instanceof JBossMessageDrivenBeanMetaData)
         addMDBAnnotations(container, ejbName, (JBossMessageDrivenBeanMetaData) enterpriseBean);
      /*
      else if(enterpriseBean instanceof JBossGenericBeanMetaData)
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

            container.setJaccContextId(getJaccContextId());
            containers.add(container);
         }
         else if (ejbType == EJB_TYPE.MESSAGE_DRIVEN)
         {
            MDB container = getMDB(ejbIndex, getEnterpriseBeanMetaData(deployment, ejbName, JBossMessageDrivenBeanMetaData.class));
            validateMDBTransactionAttribute(container);
            container.setJaccContextId(getJaccContextId());
            containers.add(container);
         }
         else if (ejbType == EJB_TYPE.SERVICE)
         {
            ServiceContainer container = getServiceContainer(ejbIndex, getEnterpriseBeanMetaData(deployment, ejbName, JBossServiceBeanMetaData.class));
            container.setJaccContextId(getJaccContextId());
            containers.add(container);
         }
         else if (ejbType == EJB_TYPE.CONSUMER)
         {
            ConsumerContainer container = getConsumerContainer(ejbIndex, getEnterpriseBeanMetaData(deployment, ejbName, JBossConsumerBeanMetaData.class));
            container.setJaccContextId(getJaccContextId());
            containers.add(container);
         }
         log.debug("found EJB3: ejbName=" + ejbName + ", class=" + className + ", type=" + ejbType);
      }
View Full Code Here

Examples of org.jboss.ejb3.mdb.MDB

      if (domain == null)
         throw new RuntimeException("No container configured with name '"
                 + containerName + "''");

      MDB container = new MDB(ejbNames.get(ejbIndex), (Domain) domain.getManager(), di.getClassLoader(), className,
              ctxProperties, deployment, beanMetaData);

      return container;
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.