org.apache.tapestry5.ioc.internal.services
Class AdvisedMethodInvocationBuilder
java.lang.Object
org.apache.tapestry5.ioc.internal.services.AdvisedMethodInvocationBuilder
public class AdvisedMethodInvocationBuilder
- extends Object
Manages a single method of an advised service, responsible for constructing a subclass of AbstractInvocation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdvisedMethodInvocationBuilder
public AdvisedMethodInvocationBuilder(ClassFactory classFactory,
Class serviceInterface,
Method method)
addAdvice
public void addAdvice(MethodAdvice advice)
commit
public void commit(ClassFab interceptorClassFab,
String delegateFieldName,
ConstantInjector injector)
- Invoked at the end of construction of the interceptor to intercept the method invocation and hook it into the
advice.
- Parameters:
interceptorClassFab - classfab for the service interceptor under constructioninjector - allows constant values to be injected into the interceptor class as final fields
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.