org.ow2.easybeans.examples.messagedrivenbean
Class MessageDrivenInterceptor
java.lang.Object
org.ow2.easybeans.examples.messagedrivenbean.MessageDrivenInterceptor
public class MessageDrivenInterceptor
- extends Object
Interceptor for the onMessage() method in this separated class.
- Author:
- Florent Benoit
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 |
MessageDrivenInterceptor
public MessageDrivenInterceptor()
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.