My Oracle Support Banner

WELD Does Not Following the Interceptors Spec (Doc ID 2085017.1)

Last updated on DECEMBER 16, 2023

Applies to:

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


The issue described in the link below occurs when deploying an application in WebLogic Server (WLS) 12.1.2.:

WELD-1225 - Incorrect handling of overridden callback methods for lifecycle events.

Excerpt from link above:

Weld does not follow the Interceptors spec. See also "Multiple Callback Interceptor Methods for a Life Cycle Callback Event" chapter:

If a lifecycle callback interceptor method is overridden by another method (regardless of whether that method is itself a lifecycle callback interceptor method (of the same or different type)), it will not be invoked.


Check the following use cases:

Neither one of init() methods should be invoked, but Foo#init() is invoked. 




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.