com.jdon.aop
类 AopClient
java.lang.Object
com.jdon.aop.AopClient
public class AopClient
- extends Object
Aop Client
- 作者:
- banq
|
方法摘要 |
Object |
invoke()
directly called by client with TargetMetaDef such as InvokerServlet:
Object object = (Service)service.execute(targetMetaDef, methodMetaArgs,
requestW); different target service has its Interceptor instance and
MethodInvocation instance |
Object |
invoke(TargetMetaRequest targetMetaRequest,
Method method,
Object[] args)
dynamic proxy active this method when client call userService.xxxmethod |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AopClient
public AopClient(ContainerCallback containerCallback,
AdvisorChainFactory advisorChainFactory,
TargetServiceFactory targetServiceFactory,
TargetMetaRequestsHolder targetMetaRequestsHolder)
invoke
public Object invoke()
throws Throwable
- directly called by client with TargetMetaDef such as InvokerServlet:
Object object = (Service)service.execute(targetMetaDef, methodMetaArgs,
requestW); different target service has its Interceptor instance and
MethodInvocation instance
- 抛出:
Throwable
invoke
public Object invoke(TargetMetaRequest targetMetaRequest,
Method method,
Object[] args)
throws Throwable
- dynamic proxy active this method when client call userService.xxxmethod
- 参数:
targetMetaRequest - method - args -
- 返回:
-
- 抛出:
Throwable
Copyright © 2013. All Rights Reserved.