org.ow2.easybeans.examples.messagedrivenbean
Class MessageDrivenInterceptor

java.lang.Object
  extended by org.ow2.easybeans.examples.messagedrivenbean.MessageDrivenInterceptor

public class MessageDrivenInterceptor
extends Object

Interceptor for the onMessage() method in this separated class.

Author:
Florent Benoit

Constructor Summary
MessageDrivenInterceptor()
           
 
Method Summary
 Object handleMessage(javax.interceptor.InvocationContext invocationContext)
          Interceptor for onMessage() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageDrivenInterceptor

public MessageDrivenInterceptor()
Method Detail

handleMessage

public Object handleMessage(javax.interceptor.InvocationContext invocationContext)
                     throws Exception
Interceptor for onMessage() method.

Parameters:
invocationContext - contains attributes of invocation
Returns:
method's invocation result
Throws:
Exception - if invocation fails


Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.