org.apache.tapestry5.ioc.internal.services
Class AdvisedMethodInvocationBuilder
java.lang.Object
org.apache.tapestry5.ioc.internal.services.AdvisedMethodInvocationBuilder
public class AdvisedMethodInvocationBuilder
- extends java.lang.Object
Manages a single method of an advised service, responsible for constructing a subclass of AbstractInvocation.
|
Method Summary |
void |
addAdvice(MethodAdvice advice)
|
void |
commit(ClassFab interceptorClassFab,
java.lang.String delegateFieldName,
ConstantInjector injector)
Invoked at the end of construction of the interceptor to intercept the method invocation and hook it into the
advice. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdvisedMethodInvocationBuilder
public AdvisedMethodInvocationBuilder(ClassFactory classFactory,
java.lang.Class serviceInterface,
java.lang.reflect.Method method)
addAdvice
public void addAdvice(MethodAdvice advice)
commit
public void commit(ClassFab interceptorClassFab,
java.lang.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-2011 Apache Software Foundation. All Rights Reserved.