Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ognl
Interface MethodAccessor  view MethodAccessor download MethodAccessor.java

All Known Implementing Classes:
ObjectMethodAccessor

public interface MethodAccessor

This interface defines methods for callinig methods in a target object. Methods are broken up into static and instance methods for convenience. indexes into the target object, which must be an array.


Method Summary
 java.lang.Object callMethod(java.util.Map context, java.lang.Object target, java.lang.String methodName, java.lang.Object[] args)
          Calls the method named with the arguments given.
 java.lang.Object callStaticMethod(java.util.Map context, java.lang.Class targetClass, java.lang.String methodName, java.lang.Object[] args)
          Calls the static method named with the arguments given on the class given.
 

Method Detail

callStaticMethod

public java.lang.Object callStaticMethod(java.util.Map context,
                                         java.lang.Class targetClass,
                                         java.lang.String methodName,
                                         java.lang.Object[] args)
                                  throws MethodFailedException
Calls the static method named with the arguments given on the class given.


callMethod

public java.lang.Object callMethod(java.util.Map context,
                                   java.lang.Object target,
                                   java.lang.String methodName,
                                   java.lang.Object[] args)
                            throws MethodFailedException
Calls the method named with the arguments given.