Coverage Report - org.mule.tck.functional.FunctionalTestNotification
 
Classes in this File Line Coverage Branch Coverage Complexity
FunctionalTestNotification
0%
0/7
N/A
1
 
 1  
 /*
 2  
  * $Id: FunctionalTestNotification.java 7976 2007-08-21 14:26:13Z dirk.olmes $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.tck.functional;
 12  
 
 13  
 import org.mule.impl.internal.notifications.CustomNotification;
 14  
 import org.mule.umo.UMOEventContext;
 15  
 import org.mule.umo.transformer.TransformerException;
 16  
 
 17  
 /**
 18  
  * TODO document
 19  
  */
 20  
 public class FunctionalTestNotification extends CustomNotification
 21  
 {
 22  
     /**
 23  
      * Serial version
 24  
      */
 25  
     private static final long serialVersionUID = -3435373745940904597L;
 26  
 
 27  
     public static final int EVENT_RECEIVED = -999999;
 28  
 
 29  
     private final Object replyMessage;
 30  
     private final UMOEventContext eventContext;
 31  
 
 32  
     public FunctionalTestNotification(UMOEventContext context, Object replyMessage, int action)
 33  
         throws TransformerException
 34  
     {
 35  0
         super(context.getTransformedMessage(), action);
 36  0
         resourceIdentifier = context.getComponentDescriptor().getName();
 37  0
         this.replyMessage = replyMessage;
 38  0
         this.eventContext = context;
 39  0
     }
 40  
 
 41  
     public Object getReplyMessage()
 42  
     {
 43  0
         return replyMessage;
 44  
     }
 45  
 
 46  
     public UMOEventContext getEventContext()
 47  
     {
 48  0
         return eventContext;
 49  
     }
 50  
 }