|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openejb.core.ThreadContext
TODO: Add comment
Field Summary | |
protected byte |
currentOperation
TODO: Add comment |
protected DeploymentInfo |
deploymentInfo
TODO: Add comment |
protected static java.lang.Class |
implClass
TODO: Add comment |
protected java.lang.Object |
primaryKey
TODO: Add comment |
protected java.lang.Object |
securityIdentity
TODO: Add comment |
protected static FastThreadLocal |
threadStorage
TODO: Add comment |
protected java.lang.Object |
unspecified
Unspecified is any object that a customer container may want to attach to the current thread context. |
protected boolean |
valid
TODO: Add comment |
Constructor Summary | |
ThreadContext()
|
Method Summary | |
(package private) static void |
|
byte |
getCurrentOperation()
TODO: Add comment |
DeploymentInfo |
getDeploymentInfo()
TODO: Add comment |
java.lang.Object |
getPrimaryKey()
TODO: Add comment |
java.lang.Object |
getSecurityIdentity()
TODO: Add comment |
static ThreadContext |
getThreadContext()
TODO: Add comment |
java.lang.Object |
getUnspecified()
TODO: Add comment |
static void |
invalidate()
TODO: Add comment |
static boolean |
isValid()
TODO: Add comment |
protected void |
makeInvalid()
TODO: Add comment |
protected static ThreadContext |
newThreadContext()
TODO: Add comment |
void |
set(DeploymentInfo di,
java.lang.Object primKey,
java.lang.Object securityIdentity)
TODO: Add comment |
void |
setCurrentOperation(byte op)
TODO: Add comment |
void |
setDeploymentInfo(DeploymentInfo info)
TODO: Add comment |
void |
setPrimaryKey(java.lang.Object primKey)
TODO: Add comment |
void |
setSecurityIdentity(java.lang.Object identity)
TODO: Add comment |
static void |
setThreadContext(ThreadContext tc)
TODO: Add comment |
void |
setUnspecified(java.lang.Object obj)
TODO: Add comment |
boolean |
valid()
TODO: Add comment |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static FastThreadLocal threadStorage
protected static java.lang.Class implClass
protected boolean valid
protected DeploymentInfo deploymentInfo
protected java.lang.Object primaryKey
protected byte currentOperation
protected java.lang.Object securityIdentity
protected java.lang.Object unspecified
Constructor Detail |
public ThreadContext()
Method Detail |
static void()
protected static ThreadContext newThreadContext()
public static boolean isValid()
protected void makeInvalid()
public static void invalidate()
public static void setThreadContext(ThreadContext tc)
tc
- public static ThreadContext getThreadContext()
public byte getCurrentOperation()
public java.lang.Object getPrimaryKey()
public DeploymentInfo getDeploymentInfo()
public java.lang.Object getSecurityIdentity()
public java.lang.Object getUnspecified()
public void set(DeploymentInfo di, java.lang.Object primKey, java.lang.Object securityIdentity)
di
- primKey
- securityIdentity
- public void setCurrentOperation(byte op)
op
- public void setPrimaryKey(java.lang.Object primKey)
primKey
- public void setSecurityIdentity(java.lang.Object identity)
identity
- public void setDeploymentInfo(DeploymentInfo info)
info
- public void setUnspecified(java.lang.Object obj)
obj
- public boolean valid()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |