org.jboss.jca.core.spi.graceful
Interface GracefulShutdown

All Known Subinterfaces:
WorkManager

public interface GracefulShutdown

The SPI for graceful shutdown

Author:
Jesper Pedersen

Method Summary
 boolean cancelShutdown()
          Cancel shutdown
 boolean isShutdown()
          Is the component shutdown
 void prepareShutdown()
          Signal the component to prepare for shutdown
 void shutdown()
          Shutdown the component
 

Method Detail

cancelShutdown

boolean cancelShutdown()
Cancel shutdown

Returns:
True if the shutdown was canceled; false otherwise

prepareShutdown

void prepareShutdown()
Signal the component to prepare for shutdown


shutdown

void shutdown()
Shutdown the component


isShutdown

boolean isShutdown()
Is the component shutdown

Returns:
True if shutdown; false if active


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)