tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Jar scanning, SCI scanning, fragment scanning
Date Fri, 14 Jun 2013 16:20:24 GMT
Romain,

On 6/14/13 12:13 PM, Romain Manni-Bucau wrote:
> Cdi handle interfaces too which are not Object.

There are interfaces which are do not extend Object?

There is essentially a base interface that declares every method in
java.lang.Object. It's simply not possible to have an instance of an
interface that does not have a toString method, for example.

java.lang.Object.class.isAssignableFrom([any class or interface]) will
always return true.

So I would expect that @HandlesType('java.lang.Object') will work.

I have not actually tested it, though.

-chris


Mime
View raw message