[jboss-dev-forums] [Design of POJO Server] - Re: JACC: Policy Configuration needs to be linked with child
anil.saldhana@jboss.com
do-not-reply at jboss.com
Tue Dec 12 01:05:04 EST 2006
An issue I am seeing is that the policy configuration for the top level deployment cannot go into "inService" until the linking for the sub-deployment policy configuration(s) has been performed.
Here is the usecase:
- Create a service bean JaccPolicy for the top-level deployment
- Create Parent PC
- In the start method of the service bean, you can do pc.commit()
- Now that the dependent JaccPolicy has started up, the subdeployment injects its metadata/pc into the jaccpolicy, which needs to link the pc with the parentPC. It cannot because the top-level pc has already gone into "inService" state.
The issue is the top level deployment unit needs to have a hook into all the subdeployments (including archives sitting inside zipped up archives) such that the top level parentPC can decide to commit once it knows that all the subdeployments have linked to it.
Any feedback on the approach?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992968#3992968
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992968
More information about the jboss-dev-forums
mailing list