org.objectweb.jonas.jdbc
Class ManagedConnectionFactoryImpl

java.lang.Object
  extended by org.objectweb.jonas.jdbc.ManagedConnectionFactoryImpl
All Implemented Interfaces:
Serializable, ManagedConnectionFactory
Direct Known Subclasses:
ConnectionPoolMCFImpl, DataSourceMCFImpl, DriverManagerMCFImpl, XAMCFImpl

public abstract class ManagedConnectionFactoryImpl
extends Object
implements ManagedConnectionFactory, Serializable

Author:
Eric hardesty
See Also:
Serialized Form

Field Summary
protected static String LOGGER_FACTORY
           
 org.objectweb.util.monolog.api.Logger trace
           
 
Constructor Summary
ManagedConnectionFactoryImpl()
           
 
Method Summary
 Object createConnectionFactory()
           
 Object createConnectionFactory(ConnectionManager cxMgr)
           
abstract  ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cxReq)
           
abstract  boolean equals(Object obj)
           
 String getDbSpecificMethods()
           
 String getDsClass()
           
 String getIsolationLevel()
           
 void getLogger(String _logTopic)
           
 String getLoginTimeout()
           
 String getLogTopic()
           
 PrintWriter getLogWriter()
           
 String getMapperName()
           
 String getPassword()
           
 String getUser()
           
 int hashCode()
           
 ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo cxReq)
           
 void setDbSpecificMethods(String val)
           
 void setDsClass(String val)
           
 void setIsolationLevel(String val)
           
 void setLoginTimeout(String val)
           
 void setLogTopic(String val)
           
 void setLogWriter(PrintWriter _pw)
           
 void setMapperName(String val)
           
 void setPassword(String val)
           
 void setUser(String val)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER_FACTORY

protected static final String LOGGER_FACTORY
See Also:
Constant Field Values

trace

public org.objectweb.util.monolog.api.Logger trace
Constructor Detail

ManagedConnectionFactoryImpl

public ManagedConnectionFactoryImpl()
Method Detail

createManagedConnection

public abstract ManagedConnection createManagedConnection(Subject subject,
                                                          ConnectionRequestInfo cxReq)
                                                   throws ResourceException
Specified by:
createManagedConnection in interface ManagedConnectionFactory
Throws:
ResourceException

equals

public abstract boolean equals(Object obj)
Specified by:
equals in interface ManagedConnectionFactory
Overrides:
equals in class Object

createConnectionFactory

public Object createConnectionFactory()
                               throws ResourceException
Specified by:
createConnectionFactory in interface ManagedConnectionFactory
Throws:
ResourceException

createConnectionFactory

public Object createConnectionFactory(ConnectionManager cxMgr)
                               throws ResourceException
Specified by:
createConnectionFactory in interface ManagedConnectionFactory
Throws:
ResourceException

getLogger

public void getLogger(String _logTopic)
               throws Exception
Throws:
Exception

getLogWriter

public PrintWriter getLogWriter()
                         throws ResourceException
Specified by:
getLogWriter in interface ManagedConnectionFactory
Throws:
ResourceException

hashCode

public int hashCode()
Specified by:
hashCode in interface ManagedConnectionFactory
Overrides:
hashCode in class Object

matchManagedConnections

public ManagedConnection matchManagedConnections(Set connectionSet,
                                                 Subject subject,
                                                 ConnectionRequestInfo cxReq)
                                          throws ResourceException
Specified by:
matchManagedConnections in interface ManagedConnectionFactory
Throws:
ResourceException

setLogWriter

public void setLogWriter(PrintWriter _pw)
                  throws ResourceException
Specified by:
setLogWriter in interface ManagedConnectionFactory
Throws:
ResourceException

getDbSpecificMethods

public String getDbSpecificMethods()

setDbSpecificMethods

public void setDbSpecificMethods(String val)

getDsClass

public String getDsClass()

setDsClass

public void setDsClass(String val)

getIsolationLevel

public String getIsolationLevel()

setIsolationLevel

public void setIsolationLevel(String val)

getLoginTimeout

public String getLoginTimeout()

setLoginTimeout

public void setLoginTimeout(String val)

getLogTopic

public String getLogTopic()

setLogTopic

public void setLogTopic(String val)

getMapperName

public String getMapperName()

setMapperName

public void setMapperName(String val)

getPassword

public String getPassword()

setPassword

public void setPassword(String val)

getUser

public String getUser()

setUser

public void setUser(String val)


Copyright © 2007 OW2 Consortium. All Rights Reserved.