public abstract class SpringDaemonAdapter extends DaemonLifecycleAdapter
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SpringDaemonAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.context.support.AbstractXmlApplicationContext |
createSpringContext() |
protected void |
doAfterSpringStart() |
protected void |
doAfterSpringStop() |
protected void |
doBeforeSpringStart() |
protected void |
doBeforeSpringStop() |
void |
doStart() |
void |
doStop() |
org.springframework.context.ApplicationContext |
getContext() |
protected String |
getSpringResource() |
Map<String,String> |
loadProperties() |
aborting, exception, getPropertyProvider, getShutdownTimeoutSeconds, loadBasicProperties, signalUSR2, started, stopped, stoppingpublic final void doStart()
throws Exception
doStart in interface IDaemonLifecycleListenerdoStart in class DaemonLifecycleAdapterExceptionprotected void doAfterSpringStart()
protected void doBeforeSpringStart()
protected void doAfterSpringStop()
protected void doBeforeSpringStop()
protected org.springframework.context.support.AbstractXmlApplicationContext createSpringContext()
protected String getSpringResource()
public final void doStop()
throws Exception
doStop in interface IDaemonLifecycleListenerdoStop in class DaemonLifecycleAdapterExceptionpublic Map<String,String> loadProperties()
loadProperties in interface IDaemonLifecycleListenerloadProperties in class DaemonLifecycleAdapterpublic final org.springframework.context.ApplicationContext getContext()
Copyright © 2012–2016 Taimos GmbH. All rights reserved.