org.wildfly.swarm.resource.adapters

## Interface RARArchive

-     public interface RARArchive

  A resource-adapter archive.

  This archive provides a way to deploy a resource-adapter similar to the Fraction-level configuration of a resource-adapter.

  Author:
    Ralf Battenfeld
  See Also:
    `ResourceAdapterFraction`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `RARArchive` | `resourceAdapter(Asset ironjacamarAsset)` Add an IronJacamar asset.
    `RARArchive` | `resourceAdapter(File ironjacamarFile)` Add an IronJacamar file.
    `RARArchive` | `resourceAdapter(ResourceAdapter ra)` Add a fully-configured resource-adapter.
    `RARArchive` | `resourceAdapter(String key, ResourceAdapterConsumer consumer)` Add and configure a resource-adapter.

- - ### Method Detail

    - #### resourceAdapter

          RARArchive resourceAdapter(String key,
                                     ResourceAdapterConsumer consumer)

      Add and configure a resource-adapter.
      Parameters:
        `key` - The key of the resource-adapter.
        `consumer` - The configuring consumer of the resource-adapter.
      Returns:
        This archive.

    - #### resourceAdapter

          RARArchive resourceAdapter(ResourceAdapter ra)

      Add a fully-configured resource-adapter.
      Parameters:
        `ra` - The configured resource-adapter.
      Returns:
        This archive.

    - #### resourceAdapter

          RARArchive resourceAdapter(File ironjacamarFile)

      Add an IronJacamar file.
      Parameters:
        `ironjacamarFile` - The IronJacamar file.
      Returns:
        This archive.

    - #### resourceAdapter

          RARArchive resourceAdapter(Asset ironjacamarAsset)

      Add an IronJacamar asset.
      Parameters:
        `ironjacamarAsset` - The IronJacamar asset.
      Returns:
        This archive.

Copyright © 2018 JBoss by Red Hat. All rights reserved.