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

ResourceAdapter getResourceAdapter()
Retrieve the resource adapter

Returns:
the resource adapter

setResourceAdapter

void setResourceAdapter(ResourceAdapter ra)
                        throws ResourceException
Set the resource adapter

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


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