|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.sql.ManagedFactoryImpl
public class ManagedFactoryImpl
The managed factory implementation.
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
|
Method Summary | |
---|---|
java.lang.Object |
createConnectionFactory()
Creates the data source the user sees. |
java.lang.Object |
createConnectionFactory(ConnectionManager connManager)
Creates the data source the user sees. |
ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
ConnectionRequestInfo requestInfo)
Creates the underlying managed connection. |
DBPoolImpl |
getDBPool()
Returns the DB pool. |
java.util.Set |
getInvalidConnections(java.util.Set connSet)
Returns any invalid connections. |
java.io.PrintWriter |
getLogWriter()
Gets the log writer for the ManagedConnectionFactory. |
ResourceAdapter |
getResourceAdapter()
|
java.lang.String |
getURL()
Returns the primary URL |
ManagedConnection |
matchManagedConnections(java.util.Set connSet,
javax.security.auth.Subject subject,
ConnectionRequestInfo requestInfo)
Creates the underlying managed connection. |
void |
setLogWriter(java.io.PrintWriter out)
Sets the log writer for the ManagedConnectionFactory. |
void |
setResourceAdapter(ResourceAdapter adapter)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.resource.spi.ManagedConnectionFactory |
---|
equals, hashCode |
Field Detail |
---|
protected static final java.util.logging.Logger log
Method Detail |
---|
public DBPoolImpl getDBPool()
public java.lang.String getURL()
public java.lang.Object createConnectionFactory(ConnectionManager connManager) throws ResourceException
createConnectionFactory
in interface ManagedConnectionFactory
ResourceException
public java.lang.Object createConnectionFactory() throws ResourceException
createConnectionFactory
in interface ManagedConnectionFactory
ResourceException
public ManagedConnection createManagedConnection(javax.security.auth.Subject subject, ConnectionRequestInfo requestInfo) throws ResourceException
createManagedConnection
in interface ManagedConnectionFactory
ResourceException
public ManagedConnection matchManagedConnections(java.util.Set connSet, javax.security.auth.Subject subject, ConnectionRequestInfo requestInfo) throws ResourceException
matchManagedConnections
in interface ManagedConnectionFactory
ResourceException
public java.util.Set getInvalidConnections(java.util.Set connSet) throws ResourceException
getInvalidConnections
in interface ValidatingManagedConnectionFactory
ResourceException
public void setLogWriter(java.io.PrintWriter out) throws ResourceException
ManagedConnectionFactory
setLogWriter
in interface ManagedConnectionFactory
ResourceException
public java.io.PrintWriter getLogWriter() throws ResourceException
ManagedConnectionFactory
getLogWriter
in interface ManagedConnectionFactory
ResourceException
public ResourceAdapter getResourceAdapter()
public void setResourceAdapter(ResourceAdapter adapter)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |