Package org.jboss.jca.adapters.jdbc.spi
Interface URLXASelectorStrategy
-
- All Known Implementing Classes:
URLXASelector
public interface URLXASelectorStrategyURLXASelectorStrategy- Author:
- Jesper Pedersen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XADataactive()Get the active XAData entryvoidfail(XAData xd)Fail a XAData entry - e.g.StringgetData()Get the data for an error presentationbooleanhasMore()Does the plugin has more valid XAData entries ?voidinit(List<XAData> xds)Init the plugin with the XAData entriesvoidreset()Reset the plugin
-
-
-
Method Detail
-
init
void init(List<XAData> xds)
Init the plugin with the XAData entries- Parameters:
xds- The value
-
hasMore
boolean hasMore()
Does the plugin has more valid XAData entries ?- Returns:
- True, if more are available, otherwise false
-
active
XAData active()
Get the active XAData entry- Returns:
- The value
-
fail
void fail(XAData xd)
Fail a XAData entry - e.g. mark it as bad- Parameters:
xd- The value
-
reset
void reset()
Reset the plugin
-
getData
String getData()
Get the data for an error presentation- Returns:
- The value
-
-