Neil Meyer wrote:
> Value=test1,test2
>
> So I want to dynamically tell the system to get 
>
> testBean.getTest1
> testBean.getTest2
>
> I really hope there is somebody that can give me some pointers here.
>   

If you want to invoke a method named by a string from a class that
instantiates that method you'll want to look at the java.lang.reflect
documentation.

If you want to dynamically add code to an existing class... you're on
your own ;)

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to