tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Sci and web fragment initialization
Date Tue, 11 Dec 2018 19:08:26 GMT
On 09/12/2018 10:23, Stephane Passignat wrote:
> Hello,
> 
> I've seen this non compliancy. In TC 7.042 and 7.0.72. How, who can fix 
> this ?
> 
> The case is related to web-fragment loading and SCI initialization.
> In Tomcat 7.0.42 and 7.0.72 at least, SCI (with @HandlesTypes 
> annotation) are initialized web-fragments per web-fragments, with the 
> classes previously discovered (in the WEB-INF/classes and previous 
> processed jars). This means @HandlesTypes classes implementation located 
> in web-fragments loaded after the one having the SCI are not provided to 
> the SCI:onStartup method.

This is not the case.

All SCIs are discovered first. Then all classes are scanned.

If you have a test case that demonstrates different behaviour please
open a bugzilla issue and attach the simplest possible test case
(including source code) that demonstrates the issue.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message