[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Spring-int schema support
adrian@jboss.org
do-not-reply at jboss.com
Tue Jun 5 10:35:53 EDT 2007
These look like AOP features to me and would be better implemented
with something more flexible than specific config options.
I'd do it in a spring-aop-int project and translate the spring xml into aop/bean xml, e.g.
| <aop:generated-lookup-factory name="commandManager" class="fiona.apple.CommandManager" method="createCommand" bean="command"/>
|
when you are asked for getBeans();
Fundamentally, you can write any BeanMetaFactory you like
whether it a GenericBeanFactory, an AOP generated class or a CGLIB/javassist
generated class doesn't really matter.
You can always hide the implementation details in your getBeans() :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051384#4051384
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051384
More information about the jboss-dev-forums
mailing list