Re: Re: getting all the interfaces for a class

Rajaraman Santhanam <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <12baf8ea9e0.-1685768544105613268.5236946575381362611@zohocorp.com>
Checked the MetadataReaderFactory. The ASM based implementation returns just what ClassVisitor returns. Only the StandardClassMetadata implementation returns all the interfaces implementaed by the underlying class. However this implementation is reflection based :-( which would not suit my needs.


Looks like I'll have to keep track of the classes that implements the interface.


thanks,
ramanr

---- On Fri, 15 Oct 2010 15:29:53 +0530 Maciej Lopacinski &lt;[email protected]&gt; wrote ---- 

On 10/15/2010 09:23 AM, Rajaraman Santhanam wrote: 
&gt; I would like to know the best solution to find out all the classes that 
&gt; implement an interface either directly or indirectly (by implementing 
&gt; the super interface of that interface or extending a class that 
&gt; implements that interface). 
Hm, that's how Spring Components scanning works. Have a look at source 
code, try MetadataReaderFactory (don't remember, I played with it long 
time ago). 
[..] 
&gt; thanks, 
&gt; ramanr
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.