|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.AbtractAspectInterceptorBuilder<T>
org.apache.tapestry5.ioc.internal.services.AspectInterceptorBuilderImpl<T>
public class AspectInterceptorBuilderImpl<T>
| Field Summary |
|---|
| Fields inherited from class org.apache.tapestry5.ioc.internal.services.AbtractAspectInterceptorBuilder |
|---|
annotationAccess |
| Constructor Summary | |
|---|---|
AspectInterceptorBuilderImpl(AnnotationAccess annotationAccess,
PlasticProxyFactory plasticProxyFactory,
Class<T> serviceInterface,
T delegate,
String description)
|
|
| Method Summary | |
|---|---|
void |
adviseAllMethods(MethodAdvice advice)
Advises all methods of the interface with the given advice. |
void |
adviseAllMethods(MethodAdvice advice)
Advises all methods of the interface with the given advice. |
void |
adviseMethod(Method method,
MethodAdvice advice)
Adds advice for a specific method of the aspect interceptor being constructed. |
void |
adviseMethod(Method method,
MethodAdvice advice)
Adds advice for a specific method of the aspect interceptor being constructed. |
T |
build()
Builds and returns the interceptor. |
Class |
getInterface()
Returns the interface for which methods may be advised. |
| Methods inherited from class org.apache.tapestry5.ioc.internal.services.AbtractAspectInterceptorBuilder |
|---|
getClassAnnotationProvider, getMethodAnnotation, getMethodAnnotationProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AspectInterceptorBuilderImpl(AnnotationAccess annotationAccess,
PlasticProxyFactory plasticProxyFactory,
Class<T> serviceInterface,
T delegate,
String description)
| Method Detail |
|---|
public void adviseMethod(Method method,
MethodAdvice advice)
MethodAdviceReceiver
method - method (of the interface for which an interceptor is being constructed) to be advised. Multiple
advice is allowed for a single method; the advice will be executed in the order it is added.advice - the advice for this particular method. Advice must be threadsafe.public void adviseAllMethods(MethodAdvice advice)
MethodAdviceReceiver
public void adviseMethod(Method method,
MethodAdvice advice)
MethodAdviceReceiver
method - method (of the interface for which an interceptor is being constructed) to be advised. Multiple
advice is allowed for a single method; the advice will be executed in the order it is added.advice - the advice for this particular method. Advice must be threadsafe.public void adviseAllMethods(MethodAdvice advice)
MethodAdviceReceiver
public Class getInterface()
MethodAdviceReceiver
MethodIteratorpublic T build()
AspectInterceptorBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||