|
||||||||||
| 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.xa.XAManagedConnectionFactory
public class XAManagedConnectionFactory

XAManagedConnectionFactory
| Nested Class Summary | |
|---|---|
static class |
XAManagedConnectionFactory.XADataSelector
Default implementation |
| Field Summary | |
|---|---|
protected Properties |
xaProps
THe XA properties |
| Constructor Summary | |
|---|---|
XAManagedConnectionFactory()
Constructor |
|
| Method Summary | |
|---|---|
javax.resource.spi.ManagedConnection |
createManagedConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
|
boolean |
equals(Object other)
|
Boolean |
getIsSameRMOverrideValue()
Get the IsSameRMOverrideValue value. |
String |
getURLProperty()
Get the URL property |
protected XADataSource |
getXADataSource()
Get the XA datasource |
String |
getXADataSourceClass()
Get the XaDataSourceClass value. |
String |
getXADataSourceProperties()
Get the XADataSourceProperties value. |
javax.resource.spi.ManagedConnection |
getXAManagedConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
Get the managed connection |
protected Properties |
getXaProps()
Get the XA properties |
int |
hashCode()
|
javax.resource.spi.ManagedConnection |
matchManagedConnections(Set mcs,
Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
|
protected javax.resource.spi.ManagedConnection |
newXAManagedConnection(Properties props,
XAConnection xaConnection)
This method can be overwritten by sublcasses to provide rm specific implementation of XAManagedConnection |
void |
setIsSameRMOverrideValue(Boolean isSameRMOverrideValue)
Set the IsSameRMOverrideValue value. |
void |
setURLDelimiter(String urlDelimiter)
Set the URL delimiter |
void |
setURLProperty(String urlProperty)
Set the URL property |
void |
setXADataSourceClass(String xaDataSourceClass)
Set the XaDataSourceClass value. |
void |
setXADataSourceProperties(String xaDataSourceProperties)
Set the XADataSourceProperties value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Properties xaProps
| Constructor Detail |
|---|
public XAManagedConnectionFactory()
| Method Detail |
|---|
public String getURLProperty()
public void setURLProperty(String urlProperty)
throws javax.resource.ResourceException
urlProperty - The value
javax.resource.ResourceException - Thrown in case of an error
public void setURLDelimiter(String urlDelimiter)
throws javax.resource.ResourceException
setURLDelimiter in class BaseWrapperManagedConnectionFactoryurlDelimiter - The value
javax.resource.ResourceException - Thrown in case of an errorpublic String getXADataSourceClass()
public void setXADataSourceClass(String xaDataSourceClass)
xaDataSourceClass - The new XaDataSourceClass value.public String getXADataSourceProperties()
public void setXADataSourceProperties(String xaDataSourceProperties)
throws javax.resource.ResourceException
xaDataSourceProperties - The new XADataSourceProperties value.
javax.resource.ResourceException - Thrown in case of an errorpublic Boolean getIsSameRMOverrideValue()
public void setIsSameRMOverrideValue(Boolean isSameRMOverrideValue)
isSameRMOverrideValue - The new IsSameRMOverrideValue value.
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 getXAManagedConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
throws javax.resource.ResourceException
subject - The subjectcri - The connection request info
javax.resource.ResourceException - Thrown if an error occurs
protected javax.resource.spi.ManagedConnection newXAManagedConnection(Properties props,
XAConnection xaConnection)
throws SQLException
props - The propertiesxaConnection - The XA connection
SQLException - Thrown if an error occurs
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 XADataSource getXADataSource()
throws javax.resource.ResourceException
javax.resource.ResourceException - Thrown if an error occursprotected Properties getXaProps()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||