|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory
org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory
public class LocalManagedConnectionFactory

LocalManagedConnectionFactory
| Field Summary | |
|---|---|
protected String |
connectionProperties
The connection properties |
| Constructor Summary | |
|---|---|
LocalManagedConnectionFactory()
Constructor |
|
| Method Summary | |
|---|---|
Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cm)
|
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. |
String |
getDataSourceClass()
Get the DataSourceClass value. |
protected Driver |
getDriver(String url)
Check the driver for the given URL. |
String |
getDriverClass()
Get the DriverClass value. |
int |
hashCode()
|
protected void |
initUrlSelector()
Init URL selector |
protected String |
internalGetConnectionURL()
Get the connection url |
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 |
setDataSourceClass(String dataSourceClass)
Set the DataSourceClass value. |
void |
setDriverClass(String driverClass)
Set the DriverClass value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String connectionProperties
| Constructor Detail |
|---|
public LocalManagedConnectionFactory()
| Method Detail |
|---|
public Object createConnectionFactory(javax.resource.spi.ConnectionManager cm)
throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactorycreateConnectionFactory in class BaseWrapperManagedConnectionFactoryjavax.resource.ResourceExceptionpublic 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 getDataSourceClass()
public void setDataSourceClass(String dataSourceClass)
dataSourceClass - The new DataSourceClass 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.ResourceExceptionprotected void initUrlSelector()
public javax.resource.spi.ManagedConnection matchManagedConnections(Set mcs,
Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic int hashCode()
hashCode in interface javax.resource.spi.ManagedConnectionFactoryhashCode in class Objectpublic boolean equals(Object other)
equals in interface javax.resource.spi.ManagedConnectionFactoryequals 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 - Thrown if an error occursprotected String internalGetConnectionURL()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||