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.

Couldn't find the cause for this. Am I missing something here.

Thanks


On Sat, Oct 11, 2014 at 10:44 AM, Bhathiya Jayasekara <[email protected]>
wrote:

> 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.context.ConfigurationContext
> configCtx)
>
> You have to extend AbstractAxis2ConfigurationContextObserver and overide
> one of above methods.
>
> Hope this is useful.
>
> Thanks,
> Bhathiya
>
>
> On Sat, Oct 11, 2014 at 9:37 AM, Danesh Kuruppu <[email protected]> wrote:
>
>> 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
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Bhathiya Jayasekara*
> *Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> <http://www.linkedin.com/in/bhathiyaj>*
> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
> *Blog: http://movingaheadblog.blogspot.com
> <http://movingaheadblog.blogspot.com/>*
>



-- 

Danesh Kuruppu
Software Engineer
WSO2 Inc,
Mobile: +94 (77) 1690552
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to