1 23 24 package javax.resource.cci; 25 26 27 import java.io.PrintWriter ; 28 import javax.resource.ResourceException ; 29 import javax.resource.NotSupportedException ; 30 31 32 49 public interface ConnectionFactory 50 extends java.io.Serializable , 51 javax.resource.Referenceable { 52 53 75 public 76 Connection getConnection() throws ResourceException ; 77 78 116 public 117 Connection getConnection(ConnectionSpec properties) 118 throws ResourceException ; 119 120 128 public 129 RecordFactory getRecordFactory() throws ResourceException ; 130 131 140 public 141 ResourceAdapterMetaData getMetaData() throws ResourceException ; 142 143 } 144 | Popular Tags |