1 23 24 package javax.resource.spi; 25 26 import javax.security.auth.Subject ; 27 import java.util.Set ; 28 import javax.resource.ResourceException ; 29 import javax.resource.NotSupportedException ; 30 31 43 44 public interface ManagedConnectionFactory extends java.io.Serializable { 45 46 61 public Object createConnectionFactory(ConnectionManager cxManager) 62 throws ResourceException ; 63 64 76 public Object createConnectionFactory() throws ResourceException ; 77 78 79 103 public ManagedConnection createManagedConnection( 104 Subject subject, 105 ConnectionRequestInfo cxRequestInfo) 106 throws ResourceException ; 107 108 135 public ManagedConnection matchManagedConnections( 136 Set connectionSet, 137 Subject subject, 138 ConnectionRequestInfo cxRequestInfo) 139 throws ResourceException ; 140 141 166 public void setLogWriter(java.io.PrintWriter out) throws ResourceException ; 167 168 183 public java.io.PrintWriter getLogWriter() throws ResourceException ; 184 185 190 public int hashCode(); 191 192 198 public boolean equals(Object other); 199 } 200 | Popular Tags |