What do you refer to as "installing your application" and "uninstalling
your application".
I suppose MBeans are registered when some bundles are started (not
installed).
If so, you simply need to unregister them when the bundle is stopped (not
uninstalled).

Guillaume

2015-01-27 8:50 GMT+01:00 Prithviraj <[email protected]>:

> Hi ,
>
> We are using Mbeans in our application running on Karaf server.
> Now our requirement is while uninstalling our application , we need to
> uninstall Mbeans  which are added by us.
> I am aware of  way to execute code while  start up of Karaf server  .
> Is there any way  to execute code  while stopping /uninstall ?
>
> Thanks in advance .
>
> Thanks,
> Prithvi
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Need-to-execute-code-while-uninstalling-application-on-Karaf-tp4038037.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

Reply via email to