|
||||||||||
| 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
| Field Summary | |
|---|---|
protected Map<String,String> |
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 |
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 |
setURLProperty(String urlProperty)
Set the URL property |
void |
setXADataSourceClass(String xaDataSourceClass)
Set the XaDataSourceClass value. |
void |
setXADataSourceProperties(String xaDataSourceProperties)
Set the XADataSourceProperties value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Map<String,String> xaProps
| Constructor Detail |
|---|
public XAManagedConnectionFactory()
| Method Detail |
|---|
public String getURLProperty()
public void setURLProperty(String urlProperty)
urlProperty - The valuepublic 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 occurspublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||