Package org.jboss.metadata.ejb.spec

Examples of org.jboss.metadata.ejb.spec.EnterpriseBeanMetaData


/*  76 */     addMethodProcessor(new InterceptorsProcessor(finder));
/*     */   }
/*     */
/*     */   public void process(EjbJar3xMetaData ejbJarMetaData, Class<?> beanClass)
/*     */   {
/*  84 */     EnterpriseBeanMetaData beanMetaData = create(beanClass);
/*  85 */     if (beanMetaData == null) {
/*  86 */       return;
/*     */     }
/*  88 */     EjbNameThreadLocal.ejbName.set(beanMetaData.getEjbName());
/*     */
/*  90 */     EnvironmentRefsGroupMetaData env = new EnvironmentRefsGroupMetaData();
/*  91 */     super.process(env, beanClass);
/*  92 */     beanMetaData.setJndiEnvironmentRefsGroup(env);
/*     */
/*  94 */     if (ejbJarMetaData.getEnterpriseBeans() == null) {
/*  95 */       ejbJarMetaData.setEnterpriseBeans(new EnterpriseBeansMetaData());
/*     */     }
/*  97 */     ejbJarMetaData.getEnterpriseBeans().add(beanMetaData);
View Full Code Here


                continue;
            }
            final String ejbName = beanClassInfo.name().local();
            final AnnotationValue nameValue = messageBeanAnnotation.value("name");
            final String beanName = nameValue == null || nameValue.asString().isEmpty() ? ejbName : nameValue.asString();
            final EnterpriseBeanMetaData beanMetaData = getEnterpriseBeanMetaData(deploymentUnit, beanName, EnterpriseBeanMetaData.class);
            final String beanClassName;
            final String messageListenerInterfaceName;
            final Properties activationConfigProperties = getActivationConfigProperties(messageBeanAnnotation);
            final String messagingType;
            if (beanMetaData != null) {
                beanClassName = override(beanClassInfo.name().toString(), beanMetaData.getEjbClass());
                deploymentDescriptorEnvironment = new DeploymentDescriptorEnvironment("java:comp/env/", beanMetaData);

                if (beanMetaData instanceof MessageDrivenBeanMetaData) {
                    //It may actually be GenericBeanMetadata instance
                    final MessageDrivenBeanMetaData mdb = (MessageDrivenBeanMetaData) beanMetaData;
View Full Code Here

TOP

Related Classes of org.jboss.metadata.ejb.spec.EnterpriseBeanMetaData

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.