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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...