Hi; I am trying to install bean into kernel via bean class annotations. I wrote the following code BeanMetaData meta = AnnotationToBeanMetaDataFactory.createBeanMetaData(Person.class); | KernelControllerContext context = getKernel().getController().install(meta); |
I am getting exception with "Null name". But if I set meta.setName(name), no exception. Actually, Person class is annotated with @Bean(name="name"), why it throws Exception? Thanks; Gurkan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239400#4239400 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239400 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user