I'am porting an application from weblogic to jboss, and I have a problem with the lifecycle events. Weblogic has a feature for handling lifecycle management. This feature is called "Application lifecycle listener events" and it provide handles on which developers can control behavior during deployment, undeployment, and redeployment. I asked about this before on the Jboss site, and I got the answer to use the subdeployers. So what I did was to write a class that extends the SubDeployerSupport and overrides the start() and stop() methods. But I can't get it to work so I'am wondering if I have missed something.
Here is why I want to do this. Some of my enterprise applications need to run some code when the application is deployed or undeployed. For example when the subscription realm is deployed I want to start a periodic timer to cleanup any subscriptions that are marked for delete. When the subscription realm is undeployed I want to cancel this timer and run a final cleanup action. Thanks in advance/George View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880754#3880754 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880754 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
