Inject Not Working in Interceptor Class

(Doc ID 2025258.1)

Last updated on JUNE 09, 2016

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.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms