|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory
public class LocalManagedConnectionFactory
LocalManagedConnectionFactory
Field Summary | |
---|---|
protected String |
connectionProperties
|
Constructor Summary | |
---|---|
LocalManagedConnectionFactory()
|
Method Summary | |
---|---|
javax.resource.spi.ManagedConnection |
createManagedConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
|
boolean |
equals(Object other)
|
String |
getConnectionProperties()
Get the value of connectionProperties. |
String |
getConnectionURL()
Get the value of ConnectionURL. |
protected Driver |
getDriver(String url)
Check the driver for the given URL. |
String |
getDriverClass()
Get the DriverClass value. |
int |
hashCode()
|
protected String |
internalGetConnectionURL()
|
javax.resource.spi.ManagedConnection |
matchManagedConnections(Set mcs,
Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
|
void |
setConnectionProperties(String connectionProperties)
Set the value of connectionProperties. |
void |
setConnectionURL(String connectionURL)
Set the value of ConnectionURL. |
void |
setDriverClass(String driverClass)
Set the DriverClass value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String connectionProperties
Constructor Detail |
---|
public LocalManagedConnectionFactory()
Method Detail |
---|
public String getConnectionURL()
public void setConnectionURL(String connectionURL)
connectionURL
- Value to assign to ConnectionURL.public String getDriverClass()
public void setDriverClass(String driverClass)
driverClass
- The new DriverClass value.public String getConnectionProperties()
public void setConnectionProperties(String connectionProperties)
connectionProperties
- Value to assign to connectionProperties.public javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo cri) throws javax.resource.ResourceException
javax.resource.ResourceException
public javax.resource.spi.ManagedConnection matchManagedConnections(Set mcs, Subject subject, javax.resource.spi.ConnectionRequestInfo cri) throws javax.resource.ResourceException
javax.resource.ResourceException
public int hashCode()
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
hashCode
in class Object
public boolean equals(Object other)
equals
in interface javax.resource.spi.ManagedConnectionFactory
equals
in class Object
protected Driver getDriver(String url) throws javax.resource.ResourceException
url
- The JDBC URL which we need a driver for.
javax.resource.ResourceException
protected String internalGetConnectionURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |