Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.resource.spi
Interface ResourceAdapterAssociation

All Known Subinterfaces:
  ActivationSpec

public interface ResourceAdapterAssociation

Interface used to associate the resource adapter with objects that implement this interface.

Method Summary
`ResourceAdapter` | `getResourceAdapter()` Retrieve the resource adapter
`void` | `setResourceAdapter(ResourceAdapter ra)` Set the resource adapter

Method Detail

### getResourceAdapter

    public ResourceAdapter getResourceAdapter()

  Retrieve the resource adapter

  Returns:
    the resource adapter

### setResourceAdapter

    public void setResourceAdapter(ResourceAdapter ra)
                            throws ResourceException

  Set the resource adapter

  Throws:
    `ResourceException` - for any error
    `ResourceAdapterInternalException` - for an error in the resource adapter
    `IllegalStateException` - if invoked more than once

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.