org.rhq.enterprise.gui.startup
Class ShutdownListener
java.lang.Object
org.rhq.enterprise.gui.startup.ShutdownListener
- All Implemented Interfaces:
- EventListener, NotificationListener
public class ShutdownListener
- extends Object
- implements NotificationListener
This listens for the RHQ server's shutdown notification and when it hears it, will start shutting down RHQ components
that need to clean up.
- Author:
- John Mazzitelli, Jay Shaughnessy, Joseph Marques
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShutdownListener
public ShutdownListener()
handleNotification
public void handleNotification(Notification notification,
Object handback)
- This is called when the shutdown notification is received from the JBoss server. This gives a chance for us to
cleanly shutdown our application in an orderly fashion.
- Specified by:
handleNotification in interface NotificationListener
- See Also:
NotificationListener.handleNotification(Notification, Object)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.