public abstract class AbstractServerObject<S extends ServerContext> extends AbstractApplicationObject<S> implements ServerObject<S>
ServerContext
Constructor and Description |
---|
AbstractServerObject(S serverCtx) |
AbstractServerObject(S serverCtx,
LogChannel logCh) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkPermission(SessionId sessionId,
EspritPermission action)
Checks whether the current user has permission on this object for the given action.
|
ServerConfig |
getServerConfig() |
S |
getServerContext()
Returns the server runtime environment
|
ServerStatisticManager |
getStatisticManager() |
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
public AbstractServerObject(S serverCtx)
public AbstractServerObject(S serverCtx, LogChannel logCh)
public final S getServerContext()
ServerObject
getServerContext
in interface ServerObject<S extends ServerContext>
public final ServerStatisticManager getStatisticManager()
public final ServerConfig getServerConfig()
protected void checkPermission(SessionId sessionId, EspritPermission action) throws PermissionException
PermissionControlled
.PermissionException
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.