Registry / dependency-injection / org-apache-felix-scr

org-apache-felix-scr

JSON →
library2.2.18javamavenunverified

Implementation of the OSGi Declarative Services specification (1.5) for component management.

<dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.scr</artifactId> <version>2.2.18</version> </dependency>
INSTALL
IMPORT
SIG · ORG-APACHE-FELIX-S
O
org-apache-felix-scr
dependency-injectionjavav2.2.18
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 component using the @Component annotation.

import org.osgi.service.component.annotations.Component; @Component(service = MyService.class) public class MyServiceImpl implements MyService { @Override public void doSomething() { System.out.println("Service activated"); } }
Debug
Known issues
gotchaRequires OSGi runtime environment; not suitable for standalone Java applications.
fix
Deploy in an OSGi container like Apache Felix or Eclipse Equinox.
affects: *
Upgrade
Version history
2.2.18latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
28
Resources
org-apache-felix-scr — mvn dependency:get org-apache-felix-scr · libregistry