Hi,
I'm trying to register a user operation event listener from the package
org.wso2.carbon.identity.user.profile.mgt and I have registered it as
follows
protected void activate(ComponentContext ctxt) {
UserRenameEventListener listener = new UserRenameEventListener();
ctxt.getBundleContext().registerService(UserOperationEventListener.class.getName(),listener,null);
try {
if (log.isDebugEnabled()) {
log.debug("User Profile Mgt bundle is activated ");
}
} catch (Throwable e) {
log.error("Failed to activate ProfileMgt bundle ", e);
}
}
However, when debugged, I noticed that the method 'activate' doesn't get
hit. I tried logging it using a debug log, and also tried remote debugging.
This method doesn't get called, yet the component is up and active.
Any idea why this is happening?
Thanks in advance for any help...
--
*-Damith Senanayake-*
+94712205272
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev