|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.local.URLSelector
public class URLSelector

Default URL selector implementation
| Constructor Summary | |
|---|---|
URLSelector()
Constructor |
|
| Method Summary | |
|---|---|
String |
active()
Get the active URL |
void |
fail(String url)
Fail an URL - e.g. |
String |
getData()
Get the data for an error presentation |
boolean |
hasMore()
Does the plugin has more valid URLs ? |
void |
init(List<String> urls)
Init the plugin with the URLs |
void |
reset()
Reset the plugin |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URLSelector()
| Method Detail |
|---|
public void init(List<String> urls)
init in interface URLSelectorStrategyurls - The URLspublic boolean hasMore()
hasMore in interface URLSelectorStrategypublic String active()
active in interface URLSelectorStrategypublic void fail(String url)
fail in interface URLSelectorStrategyurl - The URLpublic void reset()
reset in interface URLSelectorStrategypublic String getData()
getData in interface URLSelectorStrategypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||