com.mulesoft.adapter.ra
Class CCIConnectionMetaData

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

public class CCIConnectionMetaData
extends Object
implements javax.resource.cci.ConnectionMetaData

CciConnectionMetaData returns descriptive and configuration information related to a given managed connection as specified by the JCA 1.0 ConnectionMetaData interface.


Constructor Summary
CCIConnectionMetaData(SPIManagedConnection mc)
          Constructs the connection meta data object.
 
Method Summary
 String getEISProductName()
          Returns the product name of the connected external system (CCI JCA 1.0)
 String getEISProductVersion()
          Returns the product version of the connected external system (CCI JCA 1.0)
 String getUserName()
          Returns the user name (might be a technical user only) which is connected to the external system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCIConnectionMetaData

public CCIConnectionMetaData(SPIManagedConnection mc)
Constructs the connection meta data object. (CCI JCA 1.0)

Parameters:
mc - Managed connection for which this meta data object is created
Method Detail

getEISProductName

public String getEISProductName()
                         throws javax.resource.ResourceException
Returns the product name of the connected external system (CCI JCA 1.0)

Specified by:
getEISProductName in interface javax.resource.cci.ConnectionMetaData
Returns:
The product name of the connected external system
Throws:
javax.resource.ResourceException
See Also:
ConnectionMetaData.getEISProductName()

getEISProductVersion

public String getEISProductVersion()
                            throws javax.resource.ResourceException
Returns the product version of the connected external system (CCI JCA 1.0)

Specified by:
getEISProductVersion in interface javax.resource.cci.ConnectionMetaData
Returns:
The product version of the connected external system
Throws:
javax.resource.ResourceException
See Also:
ConnectionMetaData.getEISProductVersion()

getUserName

public String getUserName()
                   throws javax.resource.ResourceException
Returns the user name (might be a technical user only) which is connected to the external system. (CCI JCA 1.0)

Specified by:
getUserName in interface javax.resource.cci.ConnectionMetaData
Returns:
The user name used for the connection to the external system
Throws:
ResourceException, - if managed connection is destroyed already
javax.resource.ResourceException
See Also:
ConnectionMetaData.getUserName()


Copyright © 2012. All Rights Reserved.