|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.object.LighthouseContextWrapper
com.waveset.task.TaskContext
An object passed into Executor implementations that provides access to Lighthouse system services.
As of 3.5, we implement the new LighthouseContext interface. Older methods providing direct access to the Repository and ObjectCache still exist, but should no longer be used.
// The context may be used by more than one task thread, so everything // in here needs to be reentrant.
Field Summary | |
static java.lang.String |
code_id
|
Fields inherited from class com.waveset.object.LighthouseContextWrapper |
_context |
Fields inherited from interface com.waveset.object.LighthouseContext |
COMP_ACCESS_POLICY, COMP_AUTH_CACHE, COMP_LOGIN_CONFIG_INFO, COMP_PROVISIONER, COMP_RECONCILER, COMP_REPOSITORY, COMP_SUBJECT_AUTH_CACHE, COMP_TASK_MANAGER, COMP_WORKFLOW, OP_CACHE, OP_CACHE_TIMEOUT, OP_CLEAR_CACHE, OP_NO_RESULT |
Fields inherited from interface com.waveset.object.ObjectSource |
HIGH_VALUES, OP_ALLOW_NOT_FOUND, OP_ATTRIBUTES, OP_BLOCK_SIZE, OP_BUFFERED, OP_CONDITIONS, OP_END_BEFORE, OP_FAST, OP_FILTER, OP_FORCE, OP_KEEP_LOCK, OP_MAX_ROWS, OP_NO_CACHE, OP_NO_RULE_DRIVEN_MEMBERS, OP_ONLY_NAMES, OP_ORDER_BY, OP_START_AFTER, OP_SUBJECT, OP_SUBTYPES, OP_USER |
Constructor Summary | |
TaskContext(LighthouseContext context)
Build a task context object. |
Method Summary | |
java.lang.Object |
clone()
|
com.waveset.security.authz.AccessPolicy |
getAccessPolicy()
Deprecated. - since 3.5, use LighthouseContext |
Executor |
getExecutor()
|
LighthouseContext |
getLighthouseContext()
Return a LighthouseContext object. |
com.waveset.repository.Repository |
getRepository()
Deprecated. - since 3.5, use LighthouseContext |
void |
setExecutor(Executor executor)
|
void |
setSubject(Subject subject)
Change the effective user for logical locking. |
void |
setUser(java.lang.String name)
Change the effective user for logical locking. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public TaskContext(LighthouseContext context)
Method Detail |
public void setExecutor(Executor executor)
public java.lang.Object clone()
public Executor getExecutor()
public LighthouseContext getLighthouseContext()
public com.waveset.repository.Repository getRepository()
Some tasks might need direct access to the repository.
public com.waveset.security.authz.AccessPolicy getAccessPolicy()
public void setUser(java.lang.String name) throws WavesetException
LighthouseContext
setUser
in interface LighthouseContext
setUser
in class LighthouseContextWrapper
WavesetException
public void setSubject(Subject subject) throws WavesetException
LighthouseContext
setSubject
in interface LighthouseContext
setSubject
in class LighthouseContextWrapper
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |