My Oracle Support Banner

Inject Not Working in Interceptor Class (Doc ID 2025258.1)

Last updated on DECEMBER 16, 2023

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


Default interceptor is defined in ejb-jar.xml. Default interceptor looks like below :

After interceptor is executed, member cdiBean is null. So, cdiBean is not injected into default interceptor.
When interceptor is defined as Class Interceptor @Interceptors(DefaultInterceptor.class), everything works fine.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.