public abstract class InitializableObject<C extends ApplicationContext> extends AbstractApplicationObject<C> implements Initializable
| Constructor and Description |
|---|
InitializableObject(C ctx) |
InitializableObject(C ctx,
LogChannel logCh) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInitialized()
Checks whether initialization has yet been done and throws
an
NotInitializedException if not. |
abstract void |
init()
Performs the initialization of this class.
|
boolean |
isInitialized()
Tells whether initialization has yet been done.
|
protected void |
setInitialized() |
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toStringpublic InitializableObject(C ctx)
public InitializableObject(C ctx, LogChannel logCh)
public abstract void init()
throws java.lang.Exception
Initializableinit in interface Initializablejava.lang.Exceptionpublic final boolean isInitialized()
InitializableisInitialized in interface Initializableprotected void setInitialized()
public void checkInitialized()
InitializableNotInitializedException if not.checkInitialized in interface InitializableCopyright © 2013 EsprIT-Systems. All Rights Reserved.