com.jdon.domain.message
类 MessageInterceptor

java.lang.Object
  继承者 com.jdon.domain.message.MessageInterceptor
所有已实现的接口:
Startable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class MessageInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor, Startable

this is for domain model, there is another for components/services com.jdon.aop.interceptor.ComponentMessageInterceptor useage see:com.jdon.sample.test.domain 1. create dynamic proxy for a Model in DomainCacheInterceptor. 2. intercepte the method with @send 3. @Channel will accept the message;

作者:
banq

字段摘要
protected  EventMessageFirer eventMessageFirer
           
static String module
           
 
构造方法摘要
MessageInterceptor(ContainerCallback containerCallback, EventMessageFirer eventMessageFirer)
           
 
方法摘要
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 void start()
          Start this component.
 void stop()
          Stop this component.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

module

public static final String module

eventMessageFirer

protected EventMessageFirer eventMessageFirer
构造方法详细信息

MessageInterceptor

public MessageInterceptor(ContainerCallback containerCallback,
                          EventMessageFirer eventMessageFirer)
方法详细信息

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
指定者:
接口 org.aopalliance.intercept.MethodInterceptor 中的 invoke
抛出:
Throwable

start

public void start()
从接口 Startable 复制的描述
Start this component.

指定者:
接口 Startable 中的 start

stop

public void stop()
从接口 Startable 复制的描述
Stop this component.

指定者:
接口 Startable 中的 stop


Copyright © 2013. All Rights Reserved.