Package com.sun.identity.idm.server
Class IdRepoPluginsCache
- java.lang.Object
-
- com.sun.identity.idm.server.IdRepoPluginsCache
-
- All Implemented Interfaces:
ServiceListener
public class IdRepoPluginsCache extends Object implements ServiceListener
- Author:
- aravind
-
-
Field Summary
-
Fields inherited from interface com.sun.identity.sm.ServiceListener
ADDED, MODIFIED, REMOVED
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IdRepoPluginsCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearIdRepoPluginsCache()
Clears the IdRepo plugin cacheprotected IdRepo
getAgentRepoPlugin(String orgName)
protected IdRepo
getAMRepoPlugin(String orgName)
protected Set<IdRepo>
getIdRepoPlugins(String orgName)
protected Set<IdRepo>
getIdRepoPlugins(String orgName, IdOperation op, IdType type)
void
globalConfigChanged(String serviceName, String version, String groupName, String serviceComponent, int type)
Notification for global config changes to IdRepoServiceprotected void
initializeListeners()
void
organizationConfigChanged(String serviceName, String version, String orgName, String groupName, String serviceComponent, int type)
Notification for organization config changes to IdRepoServicevoid
schemaChanged(String serviceName, String version)
Notification for schema changes to IdRepoService
-
-
-
Method Detail
-
getIdRepoPlugins
protected Set<IdRepo> getIdRepoPlugins(String orgName) throws IdRepoException, SSOException
- Throws:
IdRepoException
SSOException
-
getIdRepoPlugins
protected Set<IdRepo> getIdRepoPlugins(String orgName, IdOperation op, IdType type) throws IdRepoException, SSOException
- Throws:
IdRepoException
SSOException
-
clearIdRepoPluginsCache
public void clearIdRepoPluginsCache()
Clears the IdRepo plugin cache
-
initializeListeners
protected void initializeListeners()
-
getAgentRepoPlugin
protected IdRepo getAgentRepoPlugin(String orgName) throws SSOException, IdRepoException
- Throws:
SSOException
IdRepoException
-
getAMRepoPlugin
protected IdRepo getAMRepoPlugin(String orgName) throws SSOException, IdRepoException
- Throws:
SSOException
IdRepoException
-
globalConfigChanged
public void globalConfigChanged(String serviceName, String version, String groupName, String serviceComponent, int type)
Notification for global config changes to IdRepoService- Specified by:
globalConfigChanged
in interfaceServiceListener
- Parameters:
serviceName
- name of the service.version
- version of the service.groupName
- name of the configuration grouping.serviceComponent
- name of the service components that changed.type
- change type, i.e., ADDED, REMOVED or MODIFIED.
-
organizationConfigChanged
public void organizationConfigChanged(String serviceName, String version, String orgName, String groupName, String serviceComponent, int type)
Notification for organization config changes to IdRepoService- Specified by:
organizationConfigChanged
in interfaceServiceListener
- Parameters:
serviceName
- name of the serviceversion
- version of the serviceorgName
- organization name as DNgroupName
- name of the configuration groupingserviceComponent
- the name of the service components that changedtype
- change type, i.e., ADDED, REMOVED or MODIFIED
-
schemaChanged
public void schemaChanged(String serviceName, String version)
Notification for schema changes to IdRepoService- Specified by:
schemaChanged
in interfaceServiceListener
- Parameters:
serviceName
- name of the serviceversion
- version of the service
-
-