[jboss-dev-forums] [Design of POJO Server] - Re: JBAS-6297, mbean service optional injection
alesj
do-not-reply at jboss.com
Tue Dec 9 10:29:28 EST 2008
OptionalDependencyItem is only there to wire together beans that actually existed - to be properly unwinded on undeploy.
But I guess similar dependency item could be added from the beginning.
You would only need to override unresolved() method,
to only return true when the dependent bean exists.
I just didn't introduce it, as it would always return true on isResolved() call.
Where we actually only need it when dependency exists.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195372#4195372
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195372
More information about the jboss-dev-forums
mailing list