org.jboss.jca.adapters.jdbc.xa
Class XAManagedConnectionFactory.XADataSelector

java.lang.Object
  extended by org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XADataSelector
All Implemented Interfaces:
URLSelectorStrategy
Enclosing class:
XAManagedConnectionFactory

public static class XAManagedConnectionFactory.XADataSelector
extends Object
implements URLSelectorStrategy

Default implementation


Constructor Summary
XAManagedConnectionFactory.XADataSelector(List<org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData> xaDataList)
          Constructor
 
Method Summary
 void failedUrlObject(Object urlObject)
          Fail an URL objects
 void failedXAData(org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData xads)
          Fail XAData
 List<org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData> getAllUrlObjects()
          Get all the URL objects
 List<org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData> getCustomSortedUrls()
          Get all the custom URL objects
 Object getUrlObject()
          Get the URL object
 org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData getXAData()
          Get the XAData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XAManagedConnectionFactory.XADataSelector

public XAManagedConnectionFactory.XADataSelector(List<org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData> xaDataList)
Constructor

Parameters:
xaDataList - The XAData instances
Method Detail

getXAData

public org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData getXAData()
Get the XAData

Returns:
The value

failedXAData

public void failedXAData(org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData xads)
Fail XAData

Parameters:
xads - The value

getCustomSortedUrls

public List<org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData> getCustomSortedUrls()
Get all the custom URL objects

Specified by:
getCustomSortedUrls in interface URLSelectorStrategy
Returns:
The value

failedUrlObject

public void failedUrlObject(Object urlObject)
Fail an URL objects

Specified by:
failedUrlObject in interface URLSelectorStrategy
Parameters:
urlObject - The value

getAllUrlObjects

public List<org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.XAData> getAllUrlObjects()
Get all the URL objects

Specified by:
getAllUrlObjects in interface URLSelectorStrategy
Returns:
The value

getUrlObject

public Object getUrlObject()
Get the URL object

Specified by:
getUrlObject in interface URLSelectorStrategy
Returns:
The value


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)