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

ResourceAdapterMetaData (JBoss J2EE API) - JBoss 3.2.7 j2ee API Documentation 英文版文档


javax.resource.cci
Interface ResourceAdapterMetaData


public interface ResourceAdapterMetaData

The ResourceAdaptetMetaData provides information about the resource adapters implementation. The resource adapter does not require an active connection to exist in order for the client to retrieve and use this data.


Method Summary
 String getAdapterName()
          Gets the resource adapter's name.
 String getAdapterShortDescription()
          Gets the resource adapter's short description.
 String getAdapterVendorName()
          Gets the resource adapter vendor's name.
 String getAdapterVersion()
          Gets the resource adapter version.
 String[] getInteractionSpecsSupported()
          Gets information on the InteractionSpec types supported by this resource adapter.
 String getSpecVersion()
          Gets the Connector specification version supported by this adapter.
 boolean supportsExecuteWithInputAndOutputRecord()
          Returns true if the resource adapter Interaction implementation supports the method boolean execute( InteractionSpec spec, Record input, Record output ), otherwise returns false
 boolean supportsExecuteWithInputRecordOnly()
          Returns true if the resource adapter Interaction implementation supports the method boolean execute( InteractionSpec spec, Record input ), otherwise returns false
 boolean supportsLocalTransactionDemarcation()
          Returns true if the resource adapter implementation implements the LocalTransaction interface and supports local transaction demarcation.
 

Method Detail

getAdapterName

public String getAdapterName()
                      throws ResourceException
Gets the resource adapter's name.

Returns:
Resource adapter name.
Throws:
ResourceException

getAdapterShortDescription

public String getAdapterShortDescription()
                                  throws ResourceException
Gets the resource adapter's short description.

Returns:
Resource adapter short description.
Throws:
ResourceException

getAdapterVendorName

public String getAdapterVendorName()
                            throws ResourceException
Gets the resource adapter vendor's name.

Returns:
Resource adapter vendor name.
Throws:
ResourceException

getAdapterVersion

public String getAdapterVersion()
                         throws ResourceException
Gets the resource adapter version.

Returns:
Resource adapter version.
Throws:
ResourceException

getInteractionSpecsSupported

public String[] getInteractionSpecsSupported()
                                      throws ResourceException
Gets information on the InteractionSpec types supported by this resource adapter.

Returns:
Array of InteractionSpec names supported.
Throws:
ResourceException

getSpecVersion

public String getSpecVersion()
                      throws ResourceException
Gets the Connector specification version supported by this adapter.

Returns:
Connector specification version.
Throws:
ResourceException

supportsExecuteWithInputAndOutputRecord

public boolean supportsExecuteWithInputAndOutputRecord()
                                                throws ResourceException
Returns true if the resource adapter Interaction implementation supports the method boolean execute( InteractionSpec spec, Record input, Record output ), otherwise returns false

Throws:
ResourceException

supportsExecuteWithInputRecordOnly

public boolean supportsExecuteWithInputRecordOnly()
                                           throws ResourceException
Returns true if the resource adapter Interaction implementation supports the method boolean execute( InteractionSpec spec, Record input ), otherwise returns false

Throws:
ResourceException

supportsLocalTransactionDemarcation

public boolean supportsLocalTransactionDemarcation()
                                            throws ResourceException
Returns true if the resource adapter implementation implements the LocalTransaction interface and supports local transaction demarcation.

Throws:
ResourceException


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