"adrian(a)jboss.org" wrote :
| In practice, this just shows that the EJB/WEB containers are not
| creating their containers correctly and the respective service being
| used is not exposed for IOC (or aspect dependency) properly.
|
| If they were these kind of transitive dependencies;
| ejb -> security -> security policy
| ejb -> security aspect -> security policy injection into the aspect
| would be would be automatic.
|
Creating a depends-with-optional-attribute is the equivalent ioc we supported with the
mbean model. This requires adding a ServiceAttributeMetaData with a
ServiceDependencyValueMetaData value. We still end up modifying the ServiceMetaData. The
ServiceMetaData is an implementation detail of the ejb container as its the JBossMetaData
that would have the management interface.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130964#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...