|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.core.ThreadContext
TODO: Add comment
Field Summary | |
protected byte |
currentOperation
TODO: Add comment |
protected DeploymentInfo |
deploymentInfo
TODO: Add comment |
protected static Class |
implClass
TODO: Add comment |
protected Object |
primaryKey
TODO: Add comment |
protected Object |
securityIdentity
TODO: Add comment |
protected static FastThreadLocal |
threadStorage
TODO: Add comment |
protected 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 | |
Object |
clone()
|
byte |
getCurrentOperation()
|
DeploymentInfo |
getDeploymentInfo()
|
Object |
getPrimaryKey()
|
Object |
getSecurityIdentity()
|
static ThreadContext |
getThreadContext()
|
Object |
getUnspecified()
|
static void |
invalidate()
|
static boolean |
isValid()
|
protected void |
makeInvalid()
|
protected static ThreadContext |
newThreadContext()
|
void |
set(DeploymentInfo di,
Object primKey,
Object securityIdentity)
|
void |
setCurrentOperation(byte op)
|
void |
setDeploymentInfo(DeploymentInfo info)
|
void |
setPrimaryKey(Object primKey)
|
void |
setSecurityIdentity(Object identity)
|
static void |
setThreadContext(ThreadContext tc)
|
void |
setUnspecified(Object obj)
|
boolean |
valid()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final FastThreadLocal threadStorage
protected static Class implClass
protected boolean valid
protected DeploymentInfo deploymentInfo
protected Object primaryKey
protected byte currentOperation
protected Object securityIdentity
protected Object unspecified
Constructor Detail |
public ThreadContext()
Method Detail |
protected static ThreadContext newThreadContext()
public static boolean isValid()
protected void makeInvalid()
public static void invalidate()
public static void setThreadContext(ThreadContext tc)
public static ThreadContext getThreadContext()
public byte getCurrentOperation()
public Object getPrimaryKey()
public DeploymentInfo getDeploymentInfo()
public Object getSecurityIdentity()
public Object getUnspecified()
public void set(DeploymentInfo di, Object primKey, Object securityIdentity)
public void setCurrentOperation(byte op)
public void setPrimaryKey(Object primKey)
public void setSecurityIdentity(Object identity)
public void setDeploymentInfo(DeploymentInfo info)
public void setUnspecified(Object obj)
public boolean valid()
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |