Registry / other / geronimo-interceptor-1-1-spec

geronimo-interceptor-1-1-spec

JSON →
library1.0javamavenunverified

Apache Geronimo implementation of the Java Interceptor API specification version 1.1.

<dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-interceptor_1.1_spec</artifactId> <version>1.0</version> </dependency>
INSTALL
IMPORT
SIG · GERONIMO-INTERCEPT
G
geronimo-interceptor-1-1-spec
otherjavav1.0
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.

Interceptor
javax.interceptor.Interceptor

Demonstrates defining an interceptor using the javax.interceptor API.

import javax.interceptor.Interceptor; import javax.interceptor.AroundInvoke; import javax.interceptor.InvocationContext; @Interceptor public class LoggingInterceptor { @AroundInvoke public Object log(InvocationContext ctx) throws Exception { System.out.println("Calling method: " + ctx.getMethod().getName()); return ctx.proceed(); } }
Debug
Known issues
breakingThis is a legacy javax.interceptor API; Jakarta EE uses jakarta.interceptor.
fix
Use jakarta.interceptor:jakarta.interceptor-api for Jakarta EE 9+.
affects: >=1.0
Upgrade
Version history
1.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
geronimo-interceptor-1-1-spec — mvn dependency:get geronimo-interceptor-1-1-spec · libregistry