org.apache.velocity.util.introspection

Class UberspectImpl.VelMethodImpl

Enclosing Class:
UberspectImpl
Implemented Interfaces:
VelMethod

public class UberspectImpl.VelMethodImpl
extends java.lang.Object
implements VelMethod

Implementation of VelMethod

Field Summary

(package private) Method
method

Constructor Summary

VelMethodImpl()
VelMethodImpl(Method m)

Method Summary

String
getMethodName()
Class
getReturnType()
Object
invoke(Object o, Object[] params)
boolean
isCacheable()

Field Details

method

(package private)  Method method

Constructor Details

VelMethodImpl

private VelMethodImpl()


VelMethodImpl

public VelMethodImpl(Method m)

Method Details

getMethodName

public String getMethodName()
Specified by:
getMethodName in interface VelMethod


getReturnType

public Class getReturnType()
Specified by:
getReturnType in interface VelMethod


invoke

public Object invoke(Object o,
                     Object[] params)
            throws Exception
Specified by:
invoke in interface VelMethod


isCacheable

public boolean isCacheable()
Specified by:
isCacheable in interface VelMethod


Copyright B) 2002 Apache Software Foundation. All Rights Reserved.