org.jboss.jca.adapters.jdbc.local
Class LocalManagedConnectionFactory.URLSelector

java.lang.Object
  extended by org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.URLSelector
All Implemented Interfaces:
URLSelectorStrategy
Enclosing class:
LocalManagedConnectionFactory

public static class LocalManagedConnectionFactory.URLSelector
extends Object
implements URLSelectorStrategy

Default implementation


Constructor Summary
LocalManagedConnectionFactory.URLSelector(List<String> urls)
          Constructor
 
Method Summary
 void failedUrl(String url)
          Failed an url
 void failedUrlObject(Object urlObject)
          Fail an url object
 List<?> getAllUrlObjects()
          Get all the url objects
 List<?> getCustomSortedUrls()
          Get all the custom url objects
 String getUrl()
          Get the url
 Object getUrlObject()
          Get the url object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalManagedConnectionFactory.URLSelector

public LocalManagedConnectionFactory.URLSelector(List<String> urls)
Constructor

Parameters:
urls - The urls
Method Detail

getUrl

public String getUrl()
Get the url

Returns:
The value

failedUrl

public void failedUrl(String url)
Failed an url

Parameters:
url - The value

getCustomSortedUrls

public List<?> 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 object

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

getAllUrlObjects

public List<?> 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/)