com.googlecode.fascinator.portal.velocity
Class JythonVelMethod

java.lang.Object
  extended by com.googlecode.fascinator.portal.velocity.JythonVelMethod
All Implemented Interfaces:
org.apache.velocity.util.introspection.VelMethod

public class JythonVelMethod
extends Object
implements org.apache.velocity.util.introspection.VelMethod


Constructor Summary
JythonVelMethod(String methodName)
           
 
Method Summary
 String getMethodName()
           
 Class<Object> getReturnType()
           
 Object invoke(Object o, Object[] params)
           
 boolean isCacheable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JythonVelMethod

public JythonVelMethod(String methodName)
Method Detail

getMethodName

public String getMethodName()
Specified by:
getMethodName in interface org.apache.velocity.util.introspection.VelMethod

getReturnType

public Class<Object> getReturnType()
Specified by:
getReturnType in interface org.apache.velocity.util.introspection.VelMethod

invoke

public Object invoke(Object o,
                     Object[] params)
              throws Exception
Specified by:
invoke in interface org.apache.velocity.util.introspection.VelMethod
Throws:
Exception

isCacheable

public boolean isCacheable()
Specified by:
isCacheable in interface org.apache.velocity.util.introspection.VelMethod


Copyright © 2009-2012. All Rights Reserved.