[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: BeanMetaDataBuilder and deprecated KernelDeployment.setB
alesj
do-not-reply at jboss.com
Fri Jul 11 16:34:01 EDT 2008
I've added this two methods:
| /**
| * Get bean factory from underlying bean meta data.
| *
| * Note: this one includes all nested beans from
| * underlying bean metadata.
| *
| * @return bean meta data factory
| */
| public abstract BeanMetaDataFactory getBeanMetaDataFactory();
|
| /**
| * Get underlying bean as BeanMetaDataFactory.
| *
| * Note: this method doesn't include nested beans from
| * underlying bean metadata.
| *
| * @return bean meta data factory
| */
| public BeanMetaDataFactory asBeanMetaDataFactory()
| {
| return new BeanMetaDataFactory()
| {
| public List<BeanMetaData> getBeans()
| {
| return Collections.singletonList(getBeanMetaData());
| }
| };
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163960#4163960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163960
More information about the jboss-dev-forums
mailing list