Coverage Report - org.mule.tck.functional.FunctionalTestNotificationListener
 
Classes in this File Line Coverage Branch Coverage Complexity
FunctionalTestNotificationListener
N/A
N/A
0
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.tck.functional;
 8  
 
 9  
 import org.mule.api.MuleContext;
 10  
 import org.mule.api.context.notification.CustomNotificationListener;
 11  
 import org.mule.api.context.notification.ServerNotificationListener;
 12  
 
 13  
 /**
 14  
  * By implementing this listener interface and registering the object with the
 15  
  * {@link MuleContext#registerListener(ServerNotificationListener)}
 16  
  * You can receive {@link FunctionalTestNotification}s from the {@link FunctionalTestComponent}.
 17  
  *
 18  
  * This Notification contains the current MuleEventContext and reply message. The resource 
 19  
  * identifier for this event is the service name that received the message.  This means you can 
 20  
  * register to listen to Notifications from a selected {@link FunctionalTestComponent}. i.e.
 21  
  * <code>
 22  
  * muleContext.registerListener(this, "*JmsTestCompoennt");
 23  
  * </code>
 24  
  *
 25  
  * This registration would only receive {@link FunctionalTestNotification} objects from components 
 26  
  * called 'MyJmsTestComponent' and 'YourJmsTestComponent' but not 'HerFileTestComponent'.
 27  
  *
 28  
  * To receive all notifications simply do -
 29  
  * <code>
 30  
  * muleContext.registerListener(this");
 31  
  * </code>
 32  
  *
 33  
  * @see FunctionalTestComponent
 34  
  * @see FunctionalTestNotificationListener
 35  
  * @see MuleContext
 36  
  */
 37  
 public interface FunctionalTestNotificationListener extends CustomNotificationListener
 38  
 {
 39  
     // no methods
 40  
 }