VistALink v1.5.0.026

gov.va.med.vistalink.adapter.cci
Class VistaLinkResourceAdapterMetaData

java.lang.Object
  extended bygov.va.med.vistalink.adapter.cci.VistaLinkResourceAdapterMetaData
All Implemented Interfaces:
javax.resource.cci.ResourceAdapterMetaData

public class VistaLinkResourceAdapterMetaData
extends java.lang.Object
implements javax.resource.cci.ResourceAdapterMetaData

Implementation class provides info about the capabilities of a resource adapter. Sub-class must provide values for abstract methods for a particular adapter. Also optionally overide supportXXX() methods when necessary.

Version:
1.5.0.026
Author:
Application Modernization - Foundations Team

Constructor Summary
VistaLinkResourceAdapterMetaData()
           
 
Method Summary
 java.lang.String getAdapterName()
          Returns the name of this adapter.
 java.lang.String getAdapterShortDescription()
          Returns the short description of this adapter.
 java.lang.String getAdapterVendorName()
          Returns the vendor name of this adapter.
 java.lang.String getAdapterVersion()
          Returns the version of this adapter.
 java.lang.String[] getInteractionSpecsSupported()
          Returns the fully-qualified names of InteractionSpec types supported by the CCI implementation for this adapter.
 java.lang.String getSpecVersion()
          Returns the version of the Connector Architecture Specification that is spported by the adapter.
 boolean supportsExecuteWithInputAndOutputRecord()
          Returns if the Interaction implementation of this adapter supports the public boolean execute(InteractionSpec is, Record input, Record output) method.
 boolean supportsExecuteWithInputRecordOnly()
          Returns if the Interaction implementation of this adapter supports the public Record execute(InteractionSpec iSpec, Record input) method.
 boolean supportsLocalTransactionDemarcation()
          Returns if this adapter implements the LocalTransaction interface and supports local transaction demarcation on the underlying EIS instance through the LocalTransaction interface.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VistaLinkResourceAdapterMetaData

public VistaLinkResourceAdapterMetaData()
Method Detail

getAdapterVersion

public java.lang.String getAdapterVersion()
Returns the version of this adapter.

Specified by:
getAdapterVersion in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
the version of this adapter, in String

getAdapterVendorName

public java.lang.String getAdapterVendorName()
Returns the vendor name of this adapter.

Specified by:
getAdapterVendorName in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
the vendor name of this adapter, in String

getAdapterName

public java.lang.String getAdapterName()
Returns the name of this adapter.

Specified by:
getAdapterName in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
the name of this adapter, in String

getAdapterShortDescription

public java.lang.String getAdapterShortDescription()
Returns the short description of this adapter.

Specified by:
getAdapterShortDescription in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
the short description of this adapter, in String

getSpecVersion

public java.lang.String getSpecVersion()
Returns the version of the Connector Architecture Specification that is spported by the adapter.

Specified by:
getSpecVersion in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
the version of the JCA spec supported by this adapter, in String

getInteractionSpecsSupported

public java.lang.String[] getInteractionSpecsSupported()
Returns the fully-qualified names of InteractionSpec types supported by the CCI implementation for this adapter.

Specified by:
getInteractionSpecsSupported in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
the fully-qualified names of supported InteractionSpec types, in String[]

supportsExecuteWithInputAndOutputRecord

public boolean supportsExecuteWithInputAndOutputRecord()
Returns if the Interaction implementation of this adapter supports the

public boolean execute(InteractionSpec is, Record input, Record output)

method.

Specified by:
supportsExecuteWithInputAndOutputRecord in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
true => support the 3-argument execute() method; false otherwise

supportsExecuteWithInputRecordOnly

public boolean supportsExecuteWithInputRecordOnly()
Returns if the Interaction implementation of this adapter supports the

public Record execute(InteractionSpec iSpec, Record input)

method.

Specified by:
supportsExecuteWithInputRecordOnly in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
true => support the 2-argument execute() method; false otherwise

supportsLocalTransactionDemarcation

public boolean supportsLocalTransactionDemarcation()
Returns if this adapter implements the LocalTransaction interface and supports local transaction demarcation on the underlying EIS instance through the LocalTransaction interface.

Specified by:
supportsLocalTransactionDemarcation in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
true => support local transaction; false => otherwise

VistALink v1.5.0.026

VistALink v1.5.0.026