public abstract class AbstractComponent extends Object implements Component
| Modifier and Type | Field and Description |
|---|---|
protected Engine |
engine
The Engine owning this Component instance.
|
protected Parameters |
params
This component initialization Parameters.
|
| Constructor and Description |
|---|
AbstractComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
debug(String message)
Report a debug message to the owning Engine.
|
void |
init(Engine e,
Parameters p)
Initialize this component instance.
|
protected void |
log(String message)
Report a log message to the owning Engine.
|
protected Engine engine
protected Parameters params
public void init(Engine e, Parameters p) throws InitializationException
init in interface Componente - The Engine owning this Component instancep - This component initialization ParametersInitializationException - If this Component instance cannot be
initialized.protected void debug(String message)
msg - The debug message to report.protected void log(String message)
msg - The log message to report.