Package ru.curs.celesta
Class SystemCallContext
java.lang.Object
ru.curs.celesta.CallContext
ru.curs.celesta.SystemCallContext
- All Implemented Interfaces:
AutoCloseable,ICallContext
CallContext of system, which does not need any user.
-
Field Summary
Fields inherited from class ru.curs.celesta.CallContext
MAX_DATA_ACCESSORS -
Constructor Summary
ConstructorsConstructorDescriptionCreates system call context.SystemCallContext(ICelesta celesta) Creates and initializes system call context without call logging.SystemCallContext(ICelesta celesta, String procName) Creates and initializes system call context. -
Method Summary
Methods inherited from class ru.curs.celesta.CallContext
activate, close, commit, decDataAccessorsCount, getCelesta, getConn, getCopy, getDbAdaptor, getDBPid, getDurationNs, getLastDataAccessor, getLoggingManager, getPermissionManager, getProcName, getScore, getStartTime, getUserId, incDataAccessorsCount, isClosed, rollback, setLastDataAccessor
-
Constructor Details
-
SystemCallContext
public SystemCallContext()Creates system call context. This context has permissions for everything. -
SystemCallContext
Creates and initializes system call context.- Parameters:
celesta- Celesta to initialize the context with.procName- Proc name (for call logging).
-
SystemCallContext
Creates and initializes system call context without call logging.- Parameters:
celesta- Celesta to initialize the context with.
-