|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.monitoring.core.controller.AbstractController
public abstract class AbstractController
| Field Summary | |
|---|---|
protected MonitoringController |
monitoringController
|
| Constructor Summary | |
|---|---|
protected |
AbstractController(Configuration configuration)
Default constructor. |
| Method Summary | ||
|---|---|---|
protected abstract void |
cleanup()
This method should clean up. |
|
protected static
|
createAndInitialize(java.lang.Class<C> c,
java.lang.String classname,
Configuration configuration)
This is a helper method trying to find, create and initialize the given class, using its public constructor which accepts a single Configuration. |
|
protected abstract void |
init()
This method should to the initialization work. |
|
protected boolean |
isTerminated()
Returns whether this controller is terminated. |
|
protected void |
setMonitoringController(MonitoringController monitoringController)
Sets and initializes the monitoring controller, if it has not been set yet. |
|
protected boolean |
terminate()
Permanently terminates this controller. |
|
abstract java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected volatile MonitoringController monitoringController
| Constructor Detail |
|---|
protected AbstractController(Configuration configuration)
configuration - The configuration for this controller.| Method Detail |
|---|
protected final void setMonitoringController(MonitoringController monitoringController)
monitoringController - The monitoring controller.protected final boolean terminate()
isTerminated()protected final boolean isTerminated()
terminate()protected abstract void init()
protected abstract void cleanup()
public abstract java.lang.String toString()
toString in class java.lang.Object
protected static final <C> C createAndInitialize(java.lang.Class<C> c,
java.lang.String classname,
Configuration configuration)
Configuration.
C - The type of the returned class.c - This class defines the expected result of the method call.classname - The name of the class to be created.configuration - The configuration which will be used to initialize the class in question.
|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||