package com.example.module;
import org.osgi.service.component.annotations.Component;
@Component(name = "exampleModule")
public class ExampleModule {
}
package com.example.module;
public interface ExampleService {
void doSomething();
}
package com.example.module;
import org.osgi.service.component.annotations.Component;
@Component(name = "exampleService")
public class ExampleServiceImpl implements ExampleService {
@Override
public void doSomething() {
}
}
text
Bundle-SymbolicName: com.example.application
Import-Package: com.example.module