[jboss-dev-forums] [Design of POJO Server] - syntax for specifying dependencies?

jhalliday do-not-reply at jboss.com
Thu Feb 21 10:27:18 EST 2008


Scott or any other guru

I have a .sar file, inside which is a .war file containing a servlet (FooServlet).
The .sar file has a jboss-service.xml:

<server>
  |    <mbean name="jboss.xts:service=XTSService" code="org.jboss.transactions.XTSService">
  |        <depends>jboss.web:service=WebServer</depends>
  |    </mbean>
  | </server>

which is all well and good as far as it goes.

However, in addition to the above dependency, I want to ensure that XTSService does not start until FooServlet has been deployed by the web server.  Does the server provide a way to express such a dependency? If so, how do I figure out the name of the FooServlet to use?

Thanks

Jonathan.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131111#4131111

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131111



More information about the jboss-dev-forums mailing list