Package com.sun.identity.idm.server
Class IdRepoAttributeValidatorManager
- java.lang.Object
-
- com.sun.identity.idm.server.IdRepoAttributeValidatorManager
-
- All Implemented Interfaces:
ServiceListener
public class IdRepoAttributeValidatorManager extends Object implements ServiceListener
TheIdRepoAttributeValidatorManagerclass managesIdRepoAttributeValidatorfor realm.
-
-
Field Summary
-
Fields inherited from interface com.sun.identity.sm.ServiceListener
ADDED, MODIFIED, REMOVED
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdRepoAttributeValidatorgetIdRepoAttributeValidator(String realm)Returns an instance ofIdRepoAttributeValidatorfor specified realm.static IdRepoAttributeValidatorManagergetInstance()Returns an instance ofIdRepoAttributeValidatorManagervoidglobalConfigChanged(String serviceName, String version, String groupName, String serviceComponent, int type)Notification for global config changes to IdRepoServicevoidorganizationConfigChanged(String serviceName, String version, String orgName, String groupName, String serviceComponent, int type)Notification for organization config changes to IdRepoServicevoidschemaChanged(String serviceName, String version)Notification for schema changes to IdRepoService
-
-
-
Method Detail
-
getInstance
public static IdRepoAttributeValidatorManager getInstance()
Returns an instance ofIdRepoAttributeValidatorManager- Returns:
- an instance of
IdRepoAttributeValidatorManager
-
getIdRepoAttributeValidator
public IdRepoAttributeValidator getIdRepoAttributeValidator(String realm) throws IdRepoException
Returns an instance ofIdRepoAttributeValidatorfor specified realm.- Parameters:
realm- the realm- Returns:
- an instance of
IdRepoAttributeValidator - Throws:
IdRepoException- if there are repository related error conditions.
-
globalConfigChanged
public void globalConfigChanged(String serviceName, String version, String groupName, String serviceComponent, int type)
Notification for global config changes to IdRepoService- Specified by:
globalConfigChangedin 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:
organizationConfigChangedin 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:
schemaChangedin interfaceServiceListener- Parameters:
serviceName- name of the serviceversion- version of the service
-
-