public abstract class AbstractSpringApplication extends AbstractApplication
logger| Constructor and Description |
|---|
AbstractSpringApplication() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Listener<?>> |
buildListeners()
Returns collection of listeners (not started, but instantiated).
|
protected String |
getPackageToScan()
Returns base package name for context scanning.
|
void |
start()
Runs all listeners.
|
void |
stop()
Stops listeners.
|
destroy, getDaemonName, getDaemonVersion, init, signalpublic void start()
start in interface org.apache.commons.daemon.Daemonstart in class AbstractApplicationpublic void stop()
stop in interface org.apache.commons.daemon.Daemonstop in class AbstractApplicationprotected Collection<Listener<?>> buildListeners()
buildListeners in class AbstractApplicationprotected String getPackageToScan()
Copyright © 2015 RafaĆ Wrzeszcz - Wrzasq.pl. All rights reserved.