Examples of ProxyInterceptedMethodTemplatedFile


Examples of rocket.beans.rebind.aop.proxyinterceptedmethod.ProxyInterceptedMethodTemplatedFile

    newMethod.setNative(false);

    GeneratorHelper.renameParametersToParameterN(newMethod);
    GeneratorHelper.makeAllParametersFinal(newMethod);

    final ProxyInterceptedMethodTemplatedFile body = new ProxyInterceptedMethodTemplatedFile();
    body.setAspects(aspects);
    body.setBeanFactory(this.getBeanFactory());
    body.setMethod(newMethod);
    body.setTargetMethod(method);

    final Type methodInterceptor = this.getMethodInterceptor();
    final List<Type> methodInvocationParameterList = Arrays.asList(new Type[] { this.getMethodInvocation() });
    final Method invoke = methodInterceptor.getMethod(Constants.METHOD_INTERCEPTOR_INVOKE, methodInvocationParameterList);
    final MethodParameter target = (MethodParameter) invoke.getParameters().get(0);

    body.setTarget(target);
    newMethod.setBody(body);
  }
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.