I using BarrierController to catch events like start web server and stop server.
For start is OK, i am able to call a EJB method,
but for stop, i cannot call an EJB because the undeploy process is allready begin
I use for start:
and for stop, i use:
Any ideea to be able to call EJB methods when server will be stop (CTRL/C)
I using BarrierController to catch events like start web server and stop server.
For start is OK, i am able to call a EJB method,
but for stop, i cannot call an EJB because the undeploy process is allready begin
I use for start:
and for stop, i use:
Any ideea to be able to call EJB methods when server will be stop (CTRL/C)
sorry because prev times i submit withot xml configuration
i use { instead <
and } instead of > to proper display.
start
{mbean name="jboss.web:service=WebServer" handback="start"}
{filter factory="NotificationFilterSupportFactory"}
{enable type="jboss.tomcat.connectors.started"/}
{/filter}
{/mbean}
stop
{mbean name="jboss.system:type=Server" handback="stop"}
{filter factory="NotificationFilterSupportFactory"}
{enable type="org.jboss.system.server.stopped"/}
{/filter}
{/mbean}