Package ru.curs.celesta
Class SystemCallContext
- java.lang.Object
-
- ru.curs.celesta.CallContext
-
- ru.curs.celesta.SystemCallContext
-
- All Implemented Interfaces:
AutoCloseable
,ICallContext
public class SystemCallContext extends CallContext
CallContext of system, which does not need any user.
-
-
Field Summary
-
Fields inherited from class ru.curs.celesta.CallContext
MAX_DATA_ACCESSORS
-
-
Constructor Summary
Constructors Constructor Description SystemCallContext()
Creates 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 Detail
-
SystemCallContext
public SystemCallContext()
Creates system call context. This context has permissions for everything.
-
SystemCallContext
public SystemCallContext(ICelesta celesta, String procName)
Creates and initializes system call context.- Parameters:
celesta
- Celesta to initialize the context with.procName
- Proc name (for call logging).
-
SystemCallContext
public SystemCallContext(ICelesta celesta)
Creates and initializes system call context without call logging.- Parameters:
celesta
- Celesta to initialize the context with.
-
-