Registry / dependency-injection / jakarta-interceptor-api

jakarta-interceptor-api

JSON →
library2.2.0javamavenunverified

Jakarta Interceptors defines a means of interposing on business method invocations and specific events such as lifecycle and timeout events on Jakarta EE components.

<dependency> <groupId>jakarta.interceptor</groupId> <artifactId>jakarta.interceptor-api</artifactId> <version>2.2.0</version> </dependency>
INSTALL
IMPORT
SIG · JAKARTA-INTERCEPTO
J
jakarta-interceptor-api
dependency-injectionjavav2.2.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
jakarta.interceptor.Interceptor

Defines a simple logging interceptor using Jakarta Interceptors.

import jakarta.interceptor.Interceptor; import jakarta.interceptor.AroundInvoke; import jakarta.interceptor.InvocationContext; @Interceptor public class LoggingInterceptor { @AroundInvoke public Object log(InvocationContext ctx) throws Exception { System.out.println("Before method: " + ctx.getMethod().getName()); return ctx.proceed(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
28
Resources
jakarta-interceptor-api — mvn dependency:get jakarta-interceptor-api · libregistry