Hi Pramod,
I have figured out how to.
here is the sample call statement
 
call.invoke( new Object[] {} );
 
Just use empty brace brackets and it works.
 
Hope this helps
 
Vaishakhi Ajmera
----- Original Message -----
Sent: Saturday, April 20, 2002 12:36 AM
Subject: Re: How do I invoke a method that takes no parameters ?

Hi Vaishakhi ,
 
        I still havent found out how to do this ..  more surprisingly , there seems to be *nothing* on the net regarding the same ..  though, I have realised that this problem is directly tied to java's introspection features. The semantics would be the same as calling a method from a MethodDescriptor retrieved from a BeanInfo class that takes no parameters .. I shall inform you as soon as I figure it out myself .. and I hope, you'll do the same too.
 
rgds
 
Pramod Nair
 
----- Original Message -----
Sent: Friday, April 19, 2002 1:48 AM
Subject: How do I invoke a method that takes no parameters ?

Hi Pramod
I see your email in the mailing list asking about How do I invoke a method that takes no parameters ?
have you been able to figure that out.
Can you please tell me how.
 
Thanks
Vaishakhi Ajmera.
 
 

Reply via email to