[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Precedence
adrian@jboss.org
do-not-reply at jboss.com
Mon Jul 2 11:59:02 EDT 2007
"bill.burke at jboss.com" wrote : I'm guess what I"m saying is:
|
|
| |
| | setInputs(EJBMetaData.class, SeamMetaData.class);
| | setOutputs(EJBMetaData.class)
| |
| |
|
| Will this even work?
|
Yes. But you're welcome to examine the code and try to come up with new testcases
where it breaks. The only thing that should be not supported is loops. :-)
See DeployersImpl.sort()
The deployer above comes before anything that accepts EJBMetaData and after
anything that outputs EJBMetaData (along as the other is not itself a "filter" -
inputs/outputs EJBMetaData).
If there are multiple "filter"s then the getRelativeOrder() can be used to control ordering
(assuming it is important - but it is probably bad design?).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059664#4059664
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059664
More information about the jboss-dev-forums
mailing list