- All Known Subinterfaces:
public interface ResourceAdapterAssociationThis interface specifies the methods to associate a
ResourceAdapterobject with other objects that implement this interface like
ResourceAdapter getResourceAdapter()Get the associated
- the associated
void setResourceAdapter(ResourceAdapter ra) throws ResourceExceptionAssociate this object with a
ResourceAdapterobject. Note, this method must be called exactly once. That is, the association must not change during the lifetime of this object.
ResourceAdapterobject to be associated with.
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.