edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util
Class GetExecutor
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util.AbstractExecutor
edu.internet2.middleware.grouperClientExt.org.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.
- Since:
- 1.0
- Version:
- $Id: GetExecutor.java,v 1.1 2008-11-30 10:57:26 mchyzer Exp $
- Author:
- Jason van Zyl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetExecutor
public GetExecutor(Log r,
Introspector ispect,
Class c,
String key)
throws Exception
- Default constructor.
- Parameters:
r
- The instance log.ispect
- The JEXL introspector.c
- The class being examined.key
- The key for the get(key) operation.
- Throws:
Exception
- Failure while trying to obtain the pertinent method.
execute
public Object execute(Object o)
throws IllegalAccessException,
InvocationTargetException
- Execute method against context.
- Specified by:
execute
in class AbstractExecutor
- Parameters:
o
- The owner.
- Returns:
- The return value.
- Throws:
IllegalAccessException
- Method is inaccessible.
InvocationTargetException
- Method body throws an exception.
Copyright © 2012 Internet2. All Rights Reserved.