org.apache.commons.jexl.util
Class GetExecutor

java.lang.Object
  extended byorg.apache.commons.jexl.util.AbstractExecutor
      extended byorg.apache.commons.jexl.util.GetExecutor

public class GetExecutor
extends AbstractExecutor

Executor that simply tries to execute a get(key) operation. This will try to find a get(key) method for any type of object, not just objects that implement the Map interface as was previously the case.

Version:
$Id: GetExecutor.java,v 1.4 2004/02/28 13:45:21 yoavs Exp $

Field Summary
 
Fields inherited from class org.apache.commons.jexl.util.AbstractExecutor
method, rlog
 
Constructor Summary
GetExecutor(Log r, Introspector ispect, Class c, String key)
          Default constructor.
 
Method Summary
 Object execute(Object o)
          Execute method against context.
 
Methods inherited from class org.apache.commons.jexl.util.AbstractExecutor
getMethod, isAlive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetExecutor

public GetExecutor(Log r,
                   Introspector ispect,
                   Class c,
                   String key)
            throws Exception
Default constructor.

Method Detail

execute

public Object execute(Object o)
               throws IllegalAccessException,
                      InvocationTargetException
Execute method against context.

Specified by:
execute in class AbstractExecutor
Throws:
IllegalAccessException
InvocationTargetException


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