[jboss-dev-forums] [Design of POJO Server] - Integrating aop-mc-int bean metadata with AS5
kabir.khan@jboss.com
do-not-reply at jboss.com
Thu May 22 06:41:16 EDT 2008
I am trying to rewrite the aspect deployers to use the beanmetadata I created in the aop-mc-int project.
I have created a SchemaResolverDeployer that parses an AOPDeployment from an -aop.xml file. I need to create something that translates the aop annotations to the same.
Since AOPDeployment is a subclass of AbstractKernelDeployment it gets deployed by the BeanMetaDataDeployer, and this seems to work fine for the very basic example I am playing with.
So far so good, but in the case of scoped aop, we need to obtain the correct manager to use, and to update that in the entries of all the metadata. What is the best way to do that? I need a PostClassLoader deployer, but it seems hacky to make that look for all the beans that have any of the aop-mc stuff as their classes and then to reset the manager-bean properties on those? Also, we can deploy aop stuff as part of other deployments as well, e.g. -beans.xml, which will result in an AbstractKernelDeployment being attached to the deployment, but do we really want to inspect those as well? There might also be other deployments that use aop type stuff?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152620#4152620
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152620
More information about the jboss-dev-forums
mailing list