FileDocCategorySizeDatePackage
ResourceAdapterAssociation.javaAPI DocGlassfish v2 API3322Fri May 04 22:35:36 BST 2007javax.resource.spi

ResourceAdapterAssociation

public interface ResourceAdapterAssociation
This interface specifies the methods to associate a ResourceAdapter object with other objects that implement this interface like ManagedConnectionFactory and ActivationSpec.
version
1.0
author
Ram Jeyaraman

Fields Summary
Constructors Summary
Methods Summary
public ResourceAdaptergetResourceAdapter()
Get the associated ResourceAdapter object.

return
the associated ResourceAdapter object.

public voidsetResourceAdapter(ResourceAdapter ra)
Associate this object with a ResourceAdapter object. Note, this method must be called exactly once. That is, the association must not change during the lifetime of this object.

param
ra ResourceAdapter object to be associated with.
throws
ResourceException generic exception.
throws
ResourceAdapterInternalException resource adapter related error condition.
throws
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.