[jboss-dev-forums] [Design of POJO Server] - Re: ServiceMetaData has the most recent dependencies/attribu
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Feb 20 22:38:01 EST 2008
"adrian at 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#4130964
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130964
More information about the jboss-dev-forums
mailing list