[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Precedence
adrian@jboss.org
do-not-reply at jboss.com
Fri Jul 6 08:22:00 EDT 2007
It's not a loop. The deployers are:
1) input=null, output=test
2) input=test, output=test
3) input=test, output=test
4) input=test, output=null
(2) and (3) are "filters", they input and output the same attachment.
If a deployer inputs and outputs the same attachment then it shouldn't
be considered as creating a loop.
The above is the correct order.
(2) and (3) looks ambigous, e.g. they could be other way around
but they are actually resolved using the Ordered.COMPARATOR.
In this case, the toString() on the deployer "3" is after "2" since the relativeOrders
are the same.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061260#4061260
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061260
More information about the jboss-dev-forums
mailing list