|
||||||||||
| 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.xa.XAManagedConnectionFactory
public class XAManagedConnectionFactory
XAManagedConnectionFactory.java Created: Mon Aug 12 21:53:02 2002
| Field Summary | |
|---|---|
protected Properties |
xaProps
|
| Constructor Summary | |
|---|---|
XAManagedConnectionFactory()
|
|
| Method Summary | |
|---|---|
javax.resource.spi.ManagedConnection |
createManagedConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
|
boolean |
equals(Object other)
|
Boolean |
getIsSameRMOverrideValue()
Get the IsSameRMOverrideValue value. |
protected XADataSource |
getXADataSource()
|
String |
getXADataSourceClass()
Get the XaDataSourceClass value. |
String |
getXADataSourceProperties()
Get the XADataSourceProperties value. |
protected Properties |
getXaProps()
|
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 |
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 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.ResourceExceptionpublic 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
protected javax.resource.spi.ManagedConnection newXAManagedConnection(Properties props,
XAConnection xaConnection)
throws SQLException
SQLException
public javax.resource.spi.ManagedConnection matchManagedConnections(Set mcs,
Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
throws javax.resource.ResourceException
mcs - subject - cri - javax.resource.ResourceException - public 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 Objectother - protected Properties getXaProps()
protected XADataSource getXADataSource()
throws javax.resource.ResourceException
javax.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||