Email Answering System
Version 1.0

com.ninecode.email.connector
Class EmailResourceAdapterMetaData

java.lang.Object
  |
  +--com.ninecode.email.connector.EmailResourceAdapterMetaData
All Implemented Interfaces:
ResourceAdapterMetaData

public class EmailResourceAdapterMetaData
extends Object
implements ResourceAdapterMetaData

Information about the email resource adapter.

Author:
Derrick Oswald

Constructor Summary
EmailResourceAdapterMetaData()
          Creates a new instance of EmailResourceAdapterMetaData
 
Method Summary
 String getAdapterName()
          Gets a tool displayable name of the resource adapter.
 String getAdapterShortDescription()
          Gets a tool displayable short desription of the resource adapter.
 String getAdapterVendorName()
          Gets the name of the vendor that has provided the resource adapter.
 String getAdapterVersion()
          Gets the version of the resource adapter.
 String[] getInteractionSpecsSupported()
          Returns an array of fully-qualified names of InteractionSpec types supported by the CCI implementation for this resource adapter.
 String getSpecVersion()
          Returns a string representation of the version of the connector architecture specification that is supported by the resource adapter.
 boolean supportsExecuteWithInputAndOutputRecord()
          Check for input and output execute support.
 boolean supportsExecuteWithInputRecordOnly()
          Check for input execute only support.
 boolean supportsLocalTransactionDemarcation()
          Check for local transaction support.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailResourceAdapterMetaData

public EmailResourceAdapterMetaData()
Creates a new instance of EmailResourceAdapterMetaData

Method Detail

getAdapterName

public String getAdapterName()
Gets a tool displayable name of the resource adapter.

Specified by:
getAdapterName in interface ResourceAdapterMetaData
Returns:
String representing the name of the resource adapter.

getAdapterShortDescription

public String getAdapterShortDescription()
Gets a tool displayable short desription of the resource adapter.

Specified by:
getAdapterShortDescription in interface ResourceAdapterMetaData
Returns:
String describing the resource adapter.

getAdapterVendorName

public String getAdapterVendorName()
Gets the name of the vendor that has provided the resource adapter.

Specified by:
getAdapterVendorName in interface ResourceAdapterMetaData
Returns:
String representing name of the vendor that has provided the resource adapter.

getAdapterVersion

public String getAdapterVersion()
Gets the version of the resource adapter.

Specified by:
getAdapterVersion in interface ResourceAdapterMetaData
Returns:
String representing version of the resource adapter.

getInteractionSpecsSupported

public String[] getInteractionSpecsSupported()
Returns an array of fully-qualified names of InteractionSpec types supported by the CCI implementation for this resource adapter. Note that the fully-qualified class name is for the implementation class of an InteractionSpec. This method may be used by tools vendor to find information on the supported InteractionSpec types. The method should return an array of length 0 if the CCI implementation does not define specific InteractionSpec types.

Specified by:
getInteractionSpecsSupported in interface ResourceAdapterMetaData
Returns:
Array of fully-qualified class names of InteractionSpec classes supported by this resource adapter's CCI implementation.

getSpecVersion

public String getSpecVersion()
Returns a string representation of the version of the connector architecture specification that is supported by the resource adapter.

Specified by:
getSpecVersion in interface ResourceAdapterMetaData
Returns:
String representing the supported version of the connector architecture.

supportsExecuteWithInputAndOutputRecord

public boolean supportsExecuteWithInputAndOutputRecord()
Check for input and output execute support.

Specified by:
supportsExecuteWithInputAndOutputRecord in interface ResourceAdapterMetaData
Returns:
true if the implementation class for the Interaction interface implements
 public boolean execute(InteractionSpec ispec, Record input, Record output)
 
method; otherwise the method returns false.

supportsExecuteWithInputRecordOnly

public boolean supportsExecuteWithInputRecordOnly()
Check for input execute only support.

Specified by:
supportsExecuteWithInputRecordOnly in interface ResourceAdapterMetaData
Returns:
true if the implementation class for the Interaction interface implements
 public Record execute(InteractionSpec ispec, Record input)
 
method; otherwise the method returns false.

supportsLocalTransactionDemarcation

public boolean supportsLocalTransactionDemarcation()
Check for local transaction support. Returns true if the resource adapter implements the LocalTransaction interface and supports local transaction demarcation on the underlying EIS instance through the LocalTransaction interface.

Specified by:
supportsLocalTransactionDemarcation in interface ResourceAdapterMetaData
Returns:
true if resource adapter supports resource manager local transaction demarcation through LocalTransaction interface; false otherwise

Email Answering System
Version 1.0

Copyright © 2003 Derrick Oswald. All rights reserved.