- 
- All Known Subinterfaces:
- ActivationSpec
 
 public interface ResourceAdapterAssociationThis interface specifies the methods to associate aResourceAdapterobject with other objects that implement this interface likeManagedConnectionFactoryandActivationSpec.- Version:
- 1.0
- Author:
- Ram Jeyaraman
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceAdaptergetResourceAdapter()Get the associatedResourceAdapterobject.voidsetResourceAdapter(ResourceAdapter ra)Associate this object with aResourceAdapterobject.
 
- 
- 
- 
Method Detail- 
getResourceAdapterResourceAdapter getResourceAdapter() Get the associatedResourceAdapterobject.- Returns:
- the associated ResourceAdapterobject.
 
 - 
setResourceAdaptervoid setResourceAdapter(ResourceAdapter ra) throws ResourceException Associate this object with aResourceAdapterobject. Note, this method must be called exactly once. That is, the association must not change during the lifetime of this object.- Parameters:
- ra-- ResourceAdapterobject to be associated with.
- Throws:
- ResourceException- generic exception.
- ResourceAdapterInternalException- resource adapter related error condition.
- IllegalStateException- indicates that this object is in an illegal state for the method invocation. For example, this occurs when this method is called more than once on the same object.
 
 
- 
 
-