0 Replies Latest reply on Nov 6, 2007 12:46 PM by eakle

    how to do dynamic invocation of class.method()?

    eakle
      1. I have a function name that is given as a String and I would like to invoke that function. How would I do that? The Function class looks close, but I don't see how to instantiate one based on a "String-function-name".

      2. Ultimately I would like to go one step beyond the above and also instantiate an object whose class name is given as a String. After instantiation, I would like to invoke a method on the class, where the method name is given as a string (step 1).

      I would appreciate pointers to any examples that do the above and/or documentation. Thanks.