Re: New Reflection/Beans API

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
I don't see what you are talking about.  You know what class you are
calling the static method on, it's just a matter of casting the return
value of the method.  Where does the dispatcher come in?

-Phil



                                                                                      
                    Markus Dahm                                                       
                    <markus.dahm@        To:     BCEL Developers List                 
                    berlin.de>           <[email protected]>                
                                         cc:                                          
                    06/03/2002           Subject:     Re: New Reflection/Beans API    
                    01:13 PM                                                          
                    Please                                                            
                    respond to                                                        
                    "BCEL                                                             
                    Developers                                                        
                    List"                                                             
                                                                                      
                                                                                      



> Reflection
> ----------
> I'm more interested in the Beans side, but...
>
> For statics, isn't it a case of passing null in where the object ref
would
> go? That's what Java reflction does.


Yes, but how do you call a method without having an object you can cast
to something. I.e., you need some kind of dispatcher, but where does it
come from?

Cheers
           Markus
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.