org.ow2.easybeans.examples.messagedrivenbean
Class MessageDrivenInterceptor

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

public class MessageDrivenInterceptor
extends java.lang.Object

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

Author:
Florent Benoit

Constructor Summary
MessageDrivenInterceptor()
           
 
Method Summary
 java.lang.Object handleMessage(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 java.lang.Object handleMessage(InvocationContext invocationContext)
                               throws java.lang.Exception
Interceptor for onMessage() method.

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


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