Registry / dependency-injection / jboss-annotations-api-1-1-spec

jboss-annotations-api-1-1-spec

JSON →
library1.0.1.Finaljavamavenunverified

JSR 250 Common Annotations for the Java Platform, provided by JBoss.

<dependency> <groupId>org.jboss.spec.javax.annotation</groupId> <artifactId>jboss-annotations-api_1.1_spec</artifactId> <version>1.0.1.Final</version> </dependency>
INSTALL
IMPORT
SIG · JBOSS-ANNOTATIONS-
J
jboss-annotations-api-1-1-spec
dependency-injectionjavav1.0.1.Final
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.

Resource
javax.annotation.Resource

Use @Resource annotation for dependency injection

import javax.annotation.Resource; public class Example { @Resource private String data; public void useResource() { System.out.println("Resource injected: " + data); } }
Debug
Known issues
breakingThis API is for Java EE 6 (JSR 250) and may conflict with newer Jakarta EE annotations.
fix
Use jakarta.annotation.Resource for Jakarta EE 9+.
affects: >=1.0.0
Upgrade
Version history
1.0.1.Finallatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
32
Resources
jboss-annotations-api-1-1-spec — mvn dependency:get jboss-annotations-api-1-1-spec · libregistry