You can provide your own impl of the Server interface.
e.g. extend the current ServerImpl and override shutdown method to hook in your behavior.
See ServerLoader usage in Main and ServerImpl for more details.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131781#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...