public class RuntimeExecShutdownBean
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
Constructor and Description |
---|
RuntimeExecShutdownBean()
Initializes the bean with empty defaults, i.e.
|
Modifier and Type | Method and Description |
---|---|
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event) |
protected void |
onShutdown(org.springframework.context.ApplicationEvent event) |
void |
setShutdownCommands(java.util.List startupCommands)
Set the commands to execute, in sequence, when the application context
is initialized.
|
public RuntimeExecShutdownBean()
public void setShutdownCommands(java.util.List startupCommands)
startupCommands
- list of commandsprotected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
protected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.