public abstract class AbstractInitializableServerObject<S extends ServerContext> extends AbstractServerObject<S> implements Initializable
ServerContext
Constructor and Description |
---|
AbstractInitializableServerObject(S serverCtx) |
Modifier and Type | Method and Description |
---|---|
void |
checkInitialized()
Checks whether initialization has yet been done and throws
an
NotInitializedException if not. |
boolean |
isInitialized()
Tells whether initialization has yet been done.
|
protected void |
setInitialized() |
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
checkPermission, getServerConfig, getServerContext, getStatisticManager
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
init
public AbstractInitializableServerObject(S serverCtx)
public final boolean isInitialized()
Initializable
isInitialized
in interface Initializable
protected void setInitialized()
public void checkInitialized()
Initializable
NotInitializedException
if not.checkInitialized
in interface Initializable
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class AbstractServerObject<S extends ServerContext>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.