com.jdon.aop
Class AopClient

java.lang.Object
  extended by com.jdon.aop.AopClient

public class AopClient
extends java.lang.Object

Aop Client


Constructor Summary
AopClient(AdvisorChainFactory advisorChainFactory, TargetServiceFactory targetServiceFactory)
           
 
Method Summary
 java.lang.Object invoke(TargetMetaRequest targetMetaRequest)
          different target service has its Interceptor instance and MethodInvocation instance
 java.lang.Object invoke(TargetMetaRequest targetMetaRequest, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AopClient

public AopClient(AdvisorChainFactory advisorChainFactory,
                 TargetServiceFactory targetServiceFactory)
Method Detail

invoke

public java.lang.Object invoke(TargetMetaRequest targetMetaRequest)
                        throws java.lang.Throwable
different target service has its Interceptor instance and MethodInvocation instance

Throws:
java.lang.Throwable

invoke

public java.lang.Object invoke(TargetMetaRequest targetMetaRequest,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable