Hi, I have a problem with @Deactivate annotation. I have an OSGI component, and I want to delete some files when this component is deleted from OSGI console. When I stop to the launcher, I don't want to do anything.
My problem is both when deleting component and stopping launcher, it enters to the @Deactivate. How can I understand it is a stop or delete in @Deactivate or is there any other annotation for these purposes ? Best Regards, Meric.

