Re: [Dev] How do I add listener for Tenant unload event

2014-10-13 Thread Danesh Kuruppu
Hi Bhathiya, error was in service registration. now works fine. Thanks On Mon, Oct 13, 2014 at 9:56 PM, Danesh Kuruppu wrote: > Hi Bhathiya, > > Thanks for the help. > > I wrote a custom observer extending > AbstractAxis2ConfigurationContextObserver and overwrite the required > method. and reg

Re: [Dev] How do I add listener for Tenant unload event

2014-10-13 Thread Danesh Kuruppu
Hi Bhathiya, Thanks for the help. I wrote a custom observer extending AbstractAxis2ConfigurationContextObserver and overwrite the required method. and register it as a service through BundleActivator.. In OSGI console, it listed in registered Services but it is not invoke when tenant unload. Cou

Re: [Dev] How do I add listener for Tenant unload event

2014-10-10 Thread Bhathiya Jayasekara
Hi Danesh, You can use one of below which are in AbstractAxis2ConfigurationContextObserver, according to your requirement. public void terminatingConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx) public void terminatedConfigurationContext(org.apache.axis2.conte

[Dev] How do I add listener for Tenant unload event

2014-10-10 Thread Danesh Kuruppu
HI all, $subject please? Need to listen to tenant unload event. Thanks -- Danesh Kuruppu Software Engineer WSO2 Inc, Mobile: +94 (77) 1690552 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev