org.apache.felix.dm.annotation.api

Annotation Type Stop

Usage Examples

 @Component
 class MyComponent implements MyService {
     @ServiceDependency
     private LogService logService; // Required dependency over the log service.
     
     @Stop
     void stop() {} // We are unregistering from the OSGi registry.     
 }