站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

ResourceAdapterAssociation (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


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


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