org.eclipse.swordfish.internal.core.exception
Class InterceptorExceptionNotificationSender

java.lang.Object
  extended by org.eclipse.swordfish.internal.core.exception.InterceptorExceptionNotificationSender
All Implemented Interfaces:
org.springframework.osgi.context.BundleContextAware

public class InterceptorExceptionNotificationSender
extends java.lang.Object
implements org.springframework.osgi.context.BundleContextAware


Field Summary
static java.lang.String EXCEPTION_TOPIC
           
static java.lang.String EXCHANGE_EVENT_PROPERTY
           
static java.lang.String EXEPTION_EVENT_PROPERTY
           
static java.lang.String INTERCEPTOR_EVENT_PROPERTY
           
 
Constructor Summary
InterceptorExceptionNotificationSender()
           
 
Method Summary
 EventService getEventService()
           
<T extends Interceptor>
void
sendNotification(java.lang.Exception exception, javax.jbi.messaging.MessageExchange exchange, T interceptor)
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 void setEventService(EventService eventService)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_TOPIC

public static final java.lang.String EXCEPTION_TOPIC
See Also:
Constant Field Values

EXEPTION_EVENT_PROPERTY

public static final java.lang.String EXEPTION_EVENT_PROPERTY
See Also:
Constant Field Values

EXCHANGE_EVENT_PROPERTY

public static final java.lang.String EXCHANGE_EVENT_PROPERTY
See Also:
Constant Field Values

INTERCEPTOR_EVENT_PROPERTY

public static final java.lang.String INTERCEPTOR_EVENT_PROPERTY
See Also:
Constant Field Values
Constructor Detail

InterceptorExceptionNotificationSender

public InterceptorExceptionNotificationSender()
Method Detail

sendNotification

public <T extends Interceptor> void sendNotification(java.lang.Exception exception,
                                                     javax.jbi.messaging.MessageExchange exchange,
                                                     T interceptor)

getEventService

public EventService getEventService()

setEventService

public void setEventService(EventService eventService)

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Specified by:
setBundleContext in interface org.springframework.osgi.context.BundleContextAware