Coverage Report - org.mule.providers.ejb.EjbMessageReceiver
 
Classes in this File Line Coverage Branch Coverage Complexity
EjbMessageReceiver
100%
3/3
N/A
1
 
 1  
 /*
 2  
  * $Id: EjbMessageReceiver.java 7963 2007-08-21 08:53:15Z 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.providers.ejb;
 12  
 
 13  
 import org.mule.providers.rmi.RmiMessageReceiver;
 14  
 import org.mule.umo.UMOComponent;
 15  
 import org.mule.umo.endpoint.UMOEndpoint;
 16  
 import org.mule.umo.lifecycle.InitialisationException;
 17  
 import org.mule.umo.provider.UMOConnector;
 18  
 
 19  
 /**
 20  
  * Will repeatedly call a method on an EJB object. If the method takes parameters A
 21  
  * List of objects can be specified on the endpoint called
 22  
  * <code>methodArgumentsList</code>, If this property is ommitted it is assumed
 23  
  * that the method takes no parameters
 24  
  */
 25  
 
 26  
 public class EjbMessageReceiver extends RmiMessageReceiver
 27  
 {
 28  
 
 29  
     public EjbMessageReceiver(UMOConnector connector,
 30  
                               UMOComponent component,
 31  
                               UMOEndpoint endpoint,
 32  
                               long frequency) throws InitialisationException
 33  
     {
 34  2
         super(connector, component, endpoint, frequency);
 35  
 
 36  2
         this.connector = (EjbConnector)connector;
 37  2
     }
 38  
 
 39  
 }