Inject Not Working in Interceptor Class
(Doc ID 2025258.1)
Last updated on DECEMBER 16, 2023
Applies to:
Oracle WebLogic Server - Version 12.1.3.0.0 and laterInformation in this document applies to any platform.
Symptoms
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.
Cause
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
Symptoms |
Cause |
Solution |
References |