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, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
public InitializableObject(C ctx)
public InitializableObject(C ctx, LogChannel logCh)
public abstract void init() throws java.lang.Exception
Initializable
init
in interface Initializable
java.lang.Exception
public final boolean isInitialized()
Initializable
isInitialized
in interface Initializable
protected void setInitialized()
public void checkInitialized()
Initializable
NotInitializedException
if not.checkInitialized
in interface Initializable
Copyright © 2013 EsprIT-Systems. All Rights Reserved.