| 构造器和说明 |
|---|
AopClient(ContainerCallback containerCallback,
AdvisorChainFactory advisorChainFactory,
TargetServiceFactory targetServiceFactory,
TargetMetaRequestsHolder targetMetaRequestsHolder) |
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
public AopClient(ContainerCallback containerCallback, AdvisorChainFactory advisorChainFactory, TargetServiceFactory targetServiceFactory, TargetMetaRequestsHolder targetMetaRequestsHolder)
public Object invoke() throws Throwable
ThrowableCopyright © 2018. All rights reserved.