Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.jexl.util.introspection
Interface VelMethod

All Known Implementing Classes:
  UberspectImpl.VelMethodImpl

public interface VelMethod

Method used for regular method invocation $foo.bar()

Version:
  $Id: VelMethod.java,v 1.3 2004/02/28 13:45:22 yoavs Exp $

Method Summary
`String` | `getMethodName()` returns the method name used
`Class` | `getReturnType()` returns the return type of the method invoked
`Object` | `invoke(Object o, Object[] params)` invocation method - called when the method invocationshould be preformed and a value returned
`boolean` | `isCacheable()` specifies if this VelMethod is cacheable and able to be reused for this class of object it was returned for

Method Detail

### invoke

    public Object invoke(Object o,
                         Object[] params)
                  throws Exception

  invocation method - called when the method invocationshould be preformed and a value returned

### isCacheable

    public boolean isCacheable()

  specifies if this VelMethod is cacheable and able to be reused for this class of object it was returned for
  Returns:
    true if can be reused for this class, false if not

### getMethodName

    public String getMethodName()

  returns the method name used

### getReturnType

    public Class getReturnType()

  returns the return type of the method invoked

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.