use of org.wso2.carbon.identity.consent.mgt.listener.TenantConsentMgtListener in project carbon-identity-framework by wso2.
the class IdentityConsentServiceComponent method activate.
@Activate
protected void activate(ComponentContext ctxt) {
try {
ctxt.getBundleContext().registerService(AbstractEventHandler.class.getName(), new ConsentDeletionUserEventHandler(), null);
ctxt.getBundleContext().registerService(ApplicationMgtListener.class.getName(), new ConsentDeletionAppMgtListener(), null);
ctxt.getBundleContext().registerService(TenantMgtListener.class.getName(), new TenantConsentMgtListener(), null);
ctxt.getBundleContext().registerService(ConsentUtilityService.class.getName(), new ConsentUtilityService(), null);
} catch (Throwable throwable) {
log.error("Error while activating Identity Consent Service Component.", throwable);
}
}
Aggregations