Examples of FixedMethodFilter


Examples of org.springframework.yarn.support.FixedMethodFilter

  private void prepareEvaluationContext(StandardEvaluationContext context, Object method,
      Class<? extends Annotation> annotationType) {
    Class<?> targetType = AopUtils.getTargetClass(this.targetObject);
    if (method instanceof Method) {
      context.registerMethodFilter(targetType, new FixedMethodFilter((Method) method));
      if (expectedType != null) {
        Assert.state(
            context.getTypeConverter().canConvert(
                TypeDescriptor.valueOf(((Method) method).getReturnType()),
                TypeDescriptor.valueOf(expectedType)), "Cannot convert to expected type ("
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.