T - a Teetime configurationpublic abstract class AbstractEmbeddableService<T extends teetime.framework.Configuration>
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
AbstractEmbeddableService()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
createTeetimeConfiguration()
Create and initialize teetime configuration for a service.
|
protected abstract void |
logError(ConfigurationException e)
Log exceptions to the UI.
|
void |
run() |
protected abstract void |
shutdownService()
Trigger cleanup features of the service.
|
void |
terminate()
Terminate a running service.
|
public AbstractEmbeddableService()
public final void run()
run in interface java.lang.Runnablepublic final void terminate()
protected abstract void logError(ConfigurationException e)
e - configuration exceptionprotected abstract void shutdownService()
protected abstract T createTeetimeConfiguration() throws ConfigurationException
ConfigurationException - in case the creation failsCopyright 2020 Kieker Project, http://kieker-monitoring.net