This content has been marked as final.
Show 2 replies
-
1. Re: Can I, plugin a Class during the JBoss Shutdown todo som
bentjb Dec 7, 2005 6:57 AM (in response to raimreddy)Hi, Rakesh, have you found a solution to your problem? I have a simular application and need to do some preprocessing (cleanup) before shutdown.
Please answer if you found a solution.
Thanks
Bent -
2. Re: Can I, plugin a Class during the JBoss Shutdown todo som
raimreddy Dec 7, 2005 12:49 PM (in response to raimreddy)The solution is to use JBoss MBeans. When you build this JBoss MBeans and deploy it. During the JBoss Shutdown, these MBeans will be undeployed and at this time you can do your cleanup before undeploying.
For his you need to read about JBoss MBeans. Here is the Link from where you can get started.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService