org.springframework.yarn.container
Class ContainerMethodInvokerHelper<T>
java.lang.Object
org.springframework.yarn.support.AbstractExpressionEvaluator
org.springframework.yarn.container.ContainerMethodInvokerHelper<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
public class ContainerMethodInvokerHelper<T>
- extends AbstractExpressionEvaluator
A helper class using spel to execute target methods.
- Author:
- Janne Valkealahti
Methods inherited from class org.springframework.yarn.support.AbstractExpressionEvaluator |
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, getEvaluationContext, setBeanFactory, setConversionService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ContainerMethodInvokerHelper
public ContainerMethodInvokerHelper(java.lang.Object targetObject,
java.lang.reflect.Method method)
ContainerMethodInvokerHelper
public ContainerMethodInvokerHelper(java.lang.Object targetObject,
java.lang.reflect.Method method,
java.lang.Class<?> expectedType)
ContainerMethodInvokerHelper
public ContainerMethodInvokerHelper(java.lang.Object targetObject,
java.lang.String methodName)
ContainerMethodInvokerHelper
public ContainerMethodInvokerHelper(java.lang.Object targetObject,
java.lang.String methodName,
java.lang.Class<?> expectedType)
ContainerMethodInvokerHelper
public ContainerMethodInvokerHelper(java.lang.Object targetObject,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
ContainerMethodInvokerHelper
public ContainerMethodInvokerHelper(java.lang.Object targetObject,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
java.lang.Class<?> expectedType)
process
public T process(YarnContainerRuntime yarnContainerRuntime)
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object