[jboss-user] [Microcontainer] - Re: Install from Annotations

gurkanerdogdu do-not-reply at jboss.com
Wed Jun 24 03:48:59 EDT 2009


Hi;

Is there any class responsible for creating BeanMetaData class from annotated bean ? AFAIK, there is a BeanMetaDataBuilder class, but you have to set all of its parameters. 

Example : 
@Bean(name="person")
class Person(){}

BeanMetaData metaData =  MetaDataBuilder.parseClass(Person.class);

"parseClass", parse all annotations from class and return configured BeanMetaData instance.

Thanks;

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239628#4239628

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239628



More information about the jboss-user mailing list