|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.examples.ctm.TenantManager
@Service @Singleton public class TenantManager
This class manages all information about all tenants, and also keeps track of the currently active tenant. The currently active tenant can be changed with this class
| Constructor Summary | |
|---|---|
TenantManager()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCurrentTenant()
|
void |
setCurrentTenant(java.lang.String currentTenant)
Sets the current tenant to this tenant |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TenantManager()
| Method Detail |
|---|
public void setCurrentTenant(java.lang.String currentTenant)
currentTenant - public java.lang.String getCurrentTenant()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||