org.objectweb.jasmine.rules.logs.beans
Class JMSLogInterceptor
java.lang.Object
org.objectweb.jasmine.rules.logs.beans.JMSLogInterceptor
public class JMSLogInterceptor
- extends Object
Interceptor class for LogInterface.
This intercepts method invocations in LogInterface objects in order to detect alarm logging.
It sends messages through JMS to notify external interfaces.
- Author:
- Awa OUEDRAOGO, Laurent RUAUD
|
Method Summary |
Object |
invoked(javax.interceptor.InvocationContext context)
Handles method invocations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMSLogInterceptor
public JMSLogInterceptor()
invoked
public Object invoked(javax.interceptor.InvocationContext context)
throws Exception
- Handles method invocations.
This notify the addition of a log on a JMS topic.
- Parameters:
context - the context around the invocation.
- Returns:
- method's invocation result.
- Throws:
Exception - any exception that invocation may throw.
Copyright © 2012 OW2 Consortium. All Rights Reserved.