|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.tenant.context.TenantCurrent
public class TenantCurrent
For handling the association TenantContext / Thread
| Constructor Summary | |
|---|---|
TenantCurrent()
|
|
| Method Summary | |
|---|---|
static TenantCurrent |
getCurrent()
Method getCurrent |
TenantContext |
getTenantContext()
Method getTenantContext |
void |
setGlobalTenantContext(TenantContext ctx)
Method setTenantContext used for client container |
void |
setTenantContext(TenantContext ctx)
Method setTenantContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TenantCurrent()
| Method Detail |
|---|
public static TenantCurrent getCurrent()
public void setTenantContext(TenantContext ctx)
ctx - Tenant context to associate to the current threadpublic void setGlobalTenantContext(TenantContext ctx)
ctx - Tenant context to associate to the JVMpublic TenantContext getTenantContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||