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 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

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. 

Changes

 

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
Changes
Cause
Solution
References


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