public class VmShutdownListener
extends java.lang.Object
NOTE: In order to prevent a proliferation of shutdown hooks, it is advisable to use instances as singletons only.
This component should be used by long-running, but interruptable processes.
| Modifier and Type | Class and Description |
|---|---|
static class |
VmShutdownListener.VmShutdownException
Message carrier to break out of loops using the callback.
|
| Constructor and Description |
|---|
VmShutdownListener(java.lang.String name)
Constructs this instance to listen to the VM shutdown call.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isVmShuttingDown() |
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.