[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: New Deployer changes - overview
bill.burke@jboss.com
do-not-reply at jboss.com
Thu Jun 28 16:32:14 EDT 2007
How do you define precedence rules for deployer ordering? For example, let's take a hypothetical Seam deployer that needs to augment an EJB deployment based on additional metadata within the deployment unit. It needs to happen after EJB XML and Annotation processing, but before component processing.
I liked the install/uninstall approach (see below if you dont' know what I'm talking about) because we could have added precedence metadata to the addDeployer method. Precendence metadata like, I have to come before the EJB component processing, but after the XML/annotation processing.
| <install bean="MainDeployer" method="addDeployer">
| <parameter><this/></parameter>
| </install>
| <uninstall bean="MainDeployer" method="removeDeployer">
| <parameter><this/></parameter>
| </uninstall>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058924#4058924
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058924
More information about the jboss-dev-forums
mailing list