Package rocket.beans.rebind.aop

Examples of rocket.beans.rebind.aop.MethodMatcherFactory


    final GeneratorContext context = this.getGeneratorContext();
    context.branch();
    context.info("Processing and verifying " + aspects.size() + " aspect(s).");

    final MethodMatcherFactory methodMatcherFactory = createMethodMatcherFactory();

    final Iterator<Aspect> iterator = aspects.iterator();
    while (iterator.hasNext()) {
      final Aspect aspect = iterator.next();

      context.branch();
      final String advisorId = aspect.getAdvisor();
      final String targetBeanId = aspect.getTarget();
      context.debug(advisorId + "=" + targetBeanId);

      aspect.setMethodMatcher(methodMatcherFactory.create(aspect.getMethodExpression()));

      final Bean bean = this.getBean(targetBeanId);
      this.verifyProxyTarget(bean);
      this.verifyAdvisorBean(aspect);
      this.verifyMethodExpression(aspect);
View Full Code Here


    context.unbranch();
  }

  protected MethodMatcherFactory createMethodMatcherFactory() {
    return new MethodMatcherFactory();
  }
View Full Code Here

TOP

Related Classes of rocket.beans.rebind.aop.MethodMatcherFactory

Copyright © 2018 www.massapicom. 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.