public class UsersDomainsCacheManagerService extends Object implements UsersDomainsCacheManager
| Constructor and Description |
|---|
UsersDomainsCacheManagerService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(Domain domain)
Adds a domain to the cache manager
|
UserDomainInfo |
associateUserWithDomain(String userName,
String domainName)
Associate a user with a domain
|
void |
create()
This method is called upon the bean creation as part
of the management Service bean lifecycle.
|
Domain |
getDomain(String domainName)
Get domain according to its name
|
static UsersDomainsCacheManager |
getInstance() |
UserDomainInfo |
getUserDomainInfo(String userName,
String domainName)
Gets a user domain info according to user name
|
void |
postConstruct() |
void |
removeDomain(String domainName)
Remove domain info object based on domain name
|
void |
removeUserDomainInfo(String userName,
String domainName)
Removes a user domain info based on ad user
|
public void addDomain(Domain domain)
UsersDomainsCacheManageraddDomain in interface UsersDomainsCacheManager@PostConstruct public void postConstruct()
public void create()
public static UsersDomainsCacheManager getInstance()
public UserDomainInfo associateUserWithDomain(String userName, String domainName)
UsersDomainsCacheManagerassociateUserWithDomain in interface UsersDomainsCacheManagerpublic UserDomainInfo getUserDomainInfo(String userName, String domainName)
UsersDomainsCacheManagergetUserDomainInfo in interface UsersDomainsCacheManagerpublic Domain getDomain(String domainName)
UsersDomainsCacheManagergetDomain in interface UsersDomainsCacheManagerpublic void removeUserDomainInfo(String userName, String domainName)
UsersDomainsCacheManagerremoveUserDomainInfo in interface UsersDomainsCacheManagerpublic void removeDomain(String domainName)
UsersDomainsCacheManagerremoveDomain in interface UsersDomainsCacheManagerCopyright © 2012. All Rights Reserved.