Coverage Report - org.mule.transport.ejb.EjbMessageReceiver
 
Classes in this File Line Coverage Branch Coverage Complexity
EjbMessageReceiver
0%
0/3
N/A
1
 
 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.transport.ejb;
 8  
 
 9  
 import org.mule.api.construct.FlowConstruct;
 10  
 import org.mule.api.endpoint.InboundEndpoint;
 11  
 import org.mule.api.lifecycle.CreateException;
 12  
 import org.mule.api.transport.Connector;
 13  
 import org.mule.transport.rmi.RmiMessageReceiver;
 14  
 
 15  
 /**
 16  
  * Will repeatedly call a method on an EJB object. If the method takes parameters A
 17  
  * List of objects can be specified on the endpoint called
 18  
  * <code>methodArgumentTypes</code>, If this property is ommitted it is assumed
 19  
  * that the method takes no parameters
 20  
  */
 21  
 
 22  
 public class EjbMessageReceiver extends RmiMessageReceiver
 23  
 {
 24  
 
 25  
     public EjbMessageReceiver(Connector connector,
 26  
                               FlowConstruct flowConstruct,
 27  
                               InboundEndpoint endpoint,
 28  
                               long frequency) throws CreateException
 29  
     {
 30  0
         super(connector, flowConstruct, endpoint, frequency);
 31  
 
 32  0
         this.connector = (EjbConnector) connector;
 33  0
     }
 34  
 
 35  
 }