org.mule.tck.functional
Interface FunctionalTestNotificationListener

All Superinterfaces:
CustomNotificationListener, ServerNotificationListener

public interface FunctionalTestNotificationListener
extends CustomNotificationListener

By implementing this listener interface and registering the object with the org.mule.api.MuleContext#registerListener(org.mule.api.context.ServerNotificationListener) You can receive FunctionalTestNotifications from the FunctionalTestComponent. This Notification contains the current MuleEventContext and reply message. The resource Identifier for this event is the service name that received the message. This means you can register to listen to Notifications from a selected FunctionalTestComponent. i.e. muleContext.registerListener(this, "*JmsTestCompoennt"); This registration would only receive FunctionalTestNotification objects from components called 'MyJmsTestComponent' and 'YourJmsTestComponent' but not 'HerFileTestComponent'. To receive all notifications simply do - muleContext.registerListener(this");

See Also:
FunctionalTestComponent, FunctionalTestNotificationListener, MuleContext

Method Summary
 
Methods inherited from interface org.mule.api.context.notification.ServerNotificationListener
onNotification
 



Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.