Coverage Report - org.mule.module.jca.MuleConnectionFactory
 
Classes in this File Line Coverage Branch Coverage Complexity
MuleConnectionFactory
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id: MuleConnectionFactory.java 10789 2008-02-12 20:04:43Z dfeist $
 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.module.jca;
 12  
 
 13  
 import java.io.Serializable;
 14  
 
 15  
 import javax.resource.Referenceable;
 16  
 import javax.resource.ResourceException;
 17  
 import javax.resource.spi.ConnectionManager;
 18  
 
 19  
 /**
 20  
  * <code>MuleConnectionFactory</code> defines the connection factory interface that
 21  
  * the RA clients will obtain a reference to.
 22  
  */
 23  
 public interface MuleConnectionFactory extends Serializable, Referenceable
 24  
 {
 25  
     MuleConnection createConnection() throws ResourceException;
 26  
 
 27  
     MuleConnection createConnection(MuleConnectionRequestInfo info) throws ResourceException;
 28  
 
 29  
     ConnectionManager getManager();
 30  
 
 31  
     void setManager(ConnectionManager manager);
 32  
 
 33  
     MuleManagedConnectionFactory getFactory();
 34  
 
 35  
     void setFactory(MuleManagedConnectionFactory factory);
 36  
 
 37  
     MuleConnectionRequestInfo getInfo();
 38  
 
 39  
     void setInfo(MuleConnectionRequestInfo info);
 40  
 }