Registry / dependency-injection / org-osgi-service-component-annotations

org-osgi-service-component-annotations

JSON →
library1.5.1javamavenunverified

OSGi annotations for declaring service components and their dependencies.

<dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.component.annotations</artifactId> <version>1.5.1</version> </dependency>
INSTALL
IMPORT
SIG · ORG-OSGI-SERVICE-C
O
org-osgi-service-component-annotations
dependency-injectionjavav1.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Component
org.osgi.service.component.annotations.Component

Declare an OSGi Declarative Services component with the @Component annotation.

import org.osgi.service.component.annotations.Component; @Component(service = MyService.class) public class MyServiceImpl implements MyService { @Override public void execute() { System.out.println("OSGi component activated"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
Resources
org-osgi-service-component-annotations — mvn dependency:get org-osgi-service-component-annotations · libregistry