[jboss-dev-forums] [Design of POJO Server] - Re: JACC: Policy Configuration needs to be linked with child
scott.stark@jboss.org
do-not-reply at jboss.com
Mon Dec 11 13:12:55 EST 2006
Add type a class assumes a single instance of that type. This is simply a convience method for addAttachment(expectedType.getName(), T attachment, Class expectedType). If there are multiple instance of a type you would need different names.
The ServiceMetaData example does not apply. Each ServiceMetaData instance is associated with a component deployment, a type of DeploymentUnit that has no children. DeploymentUnit component is structurally related to the owning deployment unit (a ServiceDeployment for a ServiceMetaData), and each service is a child component deployment unit with a single ServiceMetaData.
I'll look to add the getParent today.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992859#3992859
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992859
More information about the jboss-dev-forums
mailing list