com.mulesoft.adapter.ra
Class CCIResourceAdapterMetaData

java.lang.Object
  extended by com.mulesoft.adapter.ra.CCIResourceAdapterMetaData
All Implemented Interfaces:
javax.resource.cci.ResourceAdapterMetaData

public class CCIResourceAdapterMetaData
extends Object
implements javax.resource.cci.ResourceAdapterMetaData

CciResourceAdapterMetaData returns descriptive and configuration information of the current sample resource adapter as specified by the JCA 1.0 ResourceAdapterMetaData interface.


Constructor Summary
CCIResourceAdapterMetaData()
           
 
Method Summary
 String getAdapterName()
           
 String getAdapterShortDescription()
           
 String getAdapterVendorName()
           
 String getAdapterVersion()
          The following getter methods are required by JCA 1.0 to deliver adapter name, version, etc.
 String[] getInteractionSpecsSupported()
          A XI AF compliant resource adapter MUST return the XiInteractionSpec as the one and only supported interaction spec.
 String getSpecVersion()
           
 void setAdapterName(String name)
           
 void setAdapterShortDescription(String description)
           
 void setAdapterVendorName(String name)
           
 void setAdapterVersion(String version)
          The following setter methods are not required by JCA 1.0 but are added by the sample implementation as it is allowed by the JCA specification (ra implementation specific)
 void setSpecVersion(String version)
           
 boolean supportsExecuteWithInputAndOutputRecord()
          The sample ra supports interAction.execute(in, out) (CCI JCA 1.0)
 boolean supportsExecuteWithInputRecordOnly()
          The sample ra supports out = interAction.execute(in) (CCI JCA 1.0)
 boolean supportsLocalTransactionDemarcation()
          The sample ra supports currently no local transactions (CCI JCA 1.0)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCIResourceAdapterMetaData

public CCIResourceAdapterMetaData()
Method Detail

getAdapterVersion

public String getAdapterVersion()
The following getter methods are required by JCA 1.0 to deliver adapter name, version, etc. (CCI JCA 1.0)

Specified by:
getAdapterVersion in interface javax.resource.cci.ResourceAdapterMetaData

getSpecVersion

public String getSpecVersion()
Specified by:
getSpecVersion in interface javax.resource.cci.ResourceAdapterMetaData

getAdapterName

public String getAdapterName()
Specified by:
getAdapterName in interface javax.resource.cci.ResourceAdapterMetaData

getAdapterVendorName

public String getAdapterVendorName()
Specified by:
getAdapterVendorName in interface javax.resource.cci.ResourceAdapterMetaData

getAdapterShortDescription

public String getAdapterShortDescription()
Specified by:
getAdapterShortDescription in interface javax.resource.cci.ResourceAdapterMetaData

setAdapterVersion

public void setAdapterVersion(String version)
The following setter methods are not required by JCA 1.0 but are added by the sample implementation as it is allowed by the JCA specification (ra implementation specific)


setSpecVersion

public void setSpecVersion(String version)

setAdapterName

public void setAdapterName(String name)

setAdapterVendorName

public void setAdapterVendorName(String name)

setAdapterShortDescription

public void setAdapterShortDescription(String description)

getInteractionSpecsSupported

public String[] getInteractionSpecsSupported()
A XI AF compliant resource adapter MUST return the XiInteractionSpec as the one and only supported interaction spec. (signature CCI JCA 1.0, ra implementation specific return value)

Specified by:
getInteractionSpecsSupported in interface javax.resource.cci.ResourceAdapterMetaData

supportsExecuteWithInputAndOutputRecord

public boolean supportsExecuteWithInputAndOutputRecord()
The sample ra supports interAction.execute(in, out) (CCI JCA 1.0)

Specified by:
supportsExecuteWithInputAndOutputRecord in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
Always true
See Also:
ResourceAdapterMetaData.supportsExecuteWithInputAndOutputRecord()

supportsExecuteWithInputRecordOnly

public boolean supportsExecuteWithInputRecordOnly()
The sample ra supports out = interAction.execute(in) (CCI JCA 1.0)

Specified by:
supportsExecuteWithInputRecordOnly in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
Always true
See Also:
ResourceAdapterMetaData.supportsExecuteWithInputAndOutputRecord()

supportsLocalTransactionDemarcation

public boolean supportsLocalTransactionDemarcation()
The sample ra supports currently no local transactions (CCI JCA 1.0)

Specified by:
supportsLocalTransactionDemarcation in interface javax.resource.cci.ResourceAdapterMetaData
Returns:
Always false
See Also:
ResourceAdapterMetaData.supportsLocalTransactionDemarcation()


Copyright © 2012. All Rights Reserved.