org.glassfish.examples.ctm
Class TenantManager
java.lang.Object
org.glassfish.examples.ctm.TenantManager
@Service
@Singleton
public class TenantManager
- extends Object
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
- Author:
- jwells
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TenantManager
public TenantManager()
setCurrentTenant
public void setCurrentTenant(String currentTenant)
- Sets the current tenant to this tenant
- Parameters:
currentTenant
-
getCurrentTenant
public String getCurrentTenant()
Copyright © 2013 Oracle Corporation. All Rights Reserved.