org.jboss.jca.adapters.jdbc.spi

## Interface URLXASelectorStrategy

- All Known Implementing Classes:
    URLXASelector

      public interface URLXASelectorStrategy

  URLXASelectorStrategy
  Author:
    Jesper Pedersen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `XAData` | `active()` Get the active XAData entry
    `void` | `fail(XAData xd)` Fail a XAData entry - e.g. mark it as bad
    `java.lang.String` | `getData()` Get the data for an error presentation
    `boolean` | `hasMore()` Does the plugin has more valid XAData entries ?
    `void` | `init(java.util.List<XAData> xds)` Init the plugin with the XAData entries
    `void` | `reset()` Reset the plugin

- - ### Method Detail

    - #### init

          void init(java.util.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

          java.lang.String getData()

      Get the data for an error presentation
      Returns:
        The value

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)