org.jboss.jca.adapters.jdbc.spi
Interface URLXASelectorStrategy

All Known Implementing Classes:
URLXASelector

public interface URLXASelectorStrategy

URLXASelectorStrategy

Author:
Jesper Pedersen

Method Summary
 XAData active()
          Get the active XAData entry
 void fail(XAData xd)
          Fail a XAData entry - e.g.
 String getData()
          Get the data for an error presentation
 boolean hasMore()
          Does the plugin has more valid XAData entries ?
 void init(List<XAData> xds)
          Init the plugin with the XAData entries
 void reset()
          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


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)