use of org.wso2.carbon.identity.claim.metadata.mgt.listener.ClaimConfigListener in project carbon-identity-framework by wso2.
the class IdentityClaimManagementServiceComponent method registerClaimConfigListener.
/**
* Register ClaimConfigListener as a UserStoreConfigListener service.
*
* @param bundleCtx BundleContext
*/
private void registerClaimConfigListener(BundleContext bundleCtx) {
UserStoreConfigListener claimConfigListener = new ClaimConfigListener();
ServiceRegistration mappedClaimConfigListenerSR = bundleCtx.registerService(UserStoreConfigListener.class.getName(), claimConfigListener, null);
if (mappedClaimConfigListenerSR != null) {
if (log.isDebugEnabled()) {
log.debug("ClaimConfigListener Service registered.");
}
} else {
log.error("Error registering ClaimConfigListener Service.");
}
}
Aggregations