|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jiac.micro.internal.core.AbstractContainer
public abstract class AbstractContainer
| Field Summary | |
|---|---|
protected List |
handles
|
| Constructor Summary | |
|---|---|
protected |
AbstractContainer()
|
| Method Summary | |
|---|---|
void |
addHandle(IHandle handle)
|
abstract void |
cleanup()
This method is invoked once immediately before the current instance is disposed. |
com.github.libxjava.lang.IClassLoader |
getClassLoader()
|
protected String |
getDisplayName()
|
IHandle |
getHandle(Class handleClass)
|
org.slf4j.Logger |
getLogger()
Same as IContainer.getLogger(String) with argument null |
org.slf4j.Logger |
getLogger(String name)
|
abstract void |
initialise()
This method is invoked after the current instance is fully configured. |
void |
removeHandle(IHandle handle)
|
abstract void |
start()
Start routines like thread or schedulable activation should be done in this method. |
abstract void |
stop()
Implementations should ensure that all threads and schedulables of the current instance are stopped when this method returns. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final List handles
| Constructor Detail |
|---|
protected AbstractContainer()
| Method Detail |
|---|
public final IHandle getHandle(Class handleClass)
getHandle in interface IContainerpublic final void addHandle(IHandle handle)
addHandle in interface IContainerpublic final void removeHandle(IHandle handle)
removeHandle in interface IContainerpublic final org.slf4j.Logger getLogger()
IContainerIContainer.getLogger(String) with argument null
getLogger in interface IContainerpublic final org.slf4j.Logger getLogger(String name)
getLogger in interface IContainerpublic final com.github.libxjava.lang.IClassLoader getClassLoader()
getClassLoader in interface IContainerpublic abstract void cleanup()
ILifecycleAwareILifecycleAware.initialise() is released!
cleanup in interface ILifecycleAwarepublic abstract void initialise()
ILifecycleAwareIf the current instance is also a handle provider, the handle must be available after this method completes!
initialise in interface ILifecycleAwarepublic abstract void start()
ILifecycleAware
start in interface ILifecycleAwarepublic abstract void stop()
ILifecycleAware
stop in interface ILifecycleAwareprotected final String getDisplayName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||