public class ShutdownBackstop
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
ShutdownBackstop() |
| Modifier and Type | Method and Description |
|---|---|
int |
getTimeout() |
boolean |
isEnabled() |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event) |
protected void |
onShutdown(org.springframework.context.ApplicationEvent event) |
void |
setEnabled(boolean enabled) |
void |
setTimeout(int timeout) |
public void setTimeout(int timeout)
public int getTimeout()
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBeanprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBeanpublic void setEnabled(boolean enabled)
public boolean isEnabled()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.