public class ContextManager extends Object
Constructor and Description |
---|
ContextManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
addActionControlHierarchy(ActionControl cont) |
boolean |
addControlImpleHierarchy(ControlImple which) |
boolean |
addRemoteHierarchy(Control cont)
We could maintain a list of suspended action hierarchies and resume
the right one (and the right place!) given the control.
|
void |
associate()
Force the thread-to-transaction association.
|
ControlWrapper |
createHierarchy(Any ctx) |
ControlWrapper |
createProxy(Any ctx) |
ControlWrapper |
current()
Get the transaction for the invoking thread.
|
ControlWrapper |
current(String threadId)
Get the current transaction associated with the invoking thread.
|
ControlWrapper |
currentPIContext() |
void |
disassociateContext(int slotId) |
Uid |
getReceivedCoordinatorUid() |
ControlWrapper |
popAction() |
ControlWrapper |
popAction(String threadId) |
void |
purgeActions() |
void |
purgeActions(String threadId) |
void |
pushAction(ControlWrapper action)
If we have a hierarchy of remote actions (controls) then they will not
be registered with BasicAction.
|
public ControlWrapper current(String threadId) throws SystemException
SystemException
public ControlWrapper current() throws SystemException
SystemException
public final ControlWrapper popAction(String threadId)
public final ControlWrapper popAction()
public final void purgeActions(String threadId)
public final void purgeActions()
public void associate() throws SystemException
SystemException
public final boolean addRemoteHierarchy(Control cont)
public final boolean addActionControlHierarchy(ActionControl cont)
public final boolean addControlImpleHierarchy(ControlImple which)
public final void pushAction(ControlWrapper action)
public ControlWrapper currentPIContext() throws SystemException
SystemException
public final ControlWrapper createProxy(Any ctx) throws SystemException
SystemException
public final ControlWrapper createHierarchy(Any ctx) throws SystemException
SystemException
public final void disassociateContext(int slotId) throws SystemException
SystemException
public Uid getReceivedCoordinatorUid() throws InvalidSlot
InvalidSlot
Copyright © 2021 JBoss by Red Hat. All rights reserved.