Package org.distributeme.core.listener
Class ServerLifecycleSysOutPrinterListener
java.lang.Object
org.distributeme.core.listener.ServerLifecycleSysOutPrinterListener
- All Implemented Interfaces:
ServerLifecycleListener
The ServerLifecycleSysOutPrinterListener simply prints out START and END messages to the stdout.
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled immediately after start and registration.voidCalled immediately before service stops, in the shutdown hook.
-
Constructor Details
-
ServerLifecycleSysOutPrinterListener
public ServerLifecycleSysOutPrinterListener()
-
-
Method Details
-
afterStart
public void afterStart()Called immediately after start and registration.- Specified by:
afterStartin interfaceServerLifecycleListener
-
beforeShutdown
public void beforeShutdown()Called immediately before service stops, in the shutdown hook.- Specified by:
beforeShutdownin interfaceServerLifecycleListener
-