use of org.wso2.carbon.identity.user.functionality.mgt.UserFunctionalityManagerImpl in project carbon-identity-framework by wso2.
the class UserFunctionalityManagerServiceComponent method activate.
/**
* Register User Functionality Manager as an OSGi service.
*
* @param componentContext OSGi service component context.
*/
@Activate
protected void activate(ComponentContext componentContext) {
try {
BundleContext bundleContext = componentContext.getBundleContext();
UserFunctionalityManager userFunctionalityManager = new UserFunctionalityManagerImpl();
userFunctionalityMgtService = bundleContext.registerService(UserFunctionalityManager.class, userFunctionalityManager, null);
if (log.isDebugEnabled()) {
log.debug("User Functionality Manager bundle is activated.");
}
} catch (Exception e) {
log.error("Error while activating UserFunctionalityManagerServiceComponent.", e);
}
}
Aggregations