Top Description Methods
javax.resource.cci

public Interface ConnectionMetaData

Imports
javax.resource.ResourceException

The interface ConnectionMetaData provides information about an EIS instance connected through a Connection instance. A component calls the method Connection.getMetaData to get a ConnectionMetaData instance.
Author
Rahul Sharma
Version
0.8
See Also
javax.resource.cci.Connection, javax.resource.cci.ResultSetInfo

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

Product name of the EIS instance
getEISProductName
()

Returns product name of the underlying EIS instance connected through the Connection that produced this metadata.

public String

Returns:

Product version of an EIS instance.
getEISProductVersion
()

Returns product version of the underlying EIS instance.

public String

Returns:

String representing the user name
getUserName
()

Returns the user name for an active connection as known to the underlying EIS instance.

Method Detail

getEISProductNameback to summary
public String getEISProductName() throws ResourceException

Returns product name of the underlying EIS instance connected through the Connection that produced this metadata.

Returns:String

Product name of the EIS instance

Exceptions
ResourceException:
Failed to get the information for the EIS instance
getEISProductVersionback to summary
public String getEISProductVersion() throws ResourceException

Returns product version of the underlying EIS instance.

Returns:String

Product version of an EIS instance.

Exceptions
ResourceException:
Failed to get the information for the EIS instance
getUserNameback to summary
public String getUserName() throws ResourceException

Returns the user name for an active connection as known to the underlying EIS instance. The name corresponds the resource principal under whose security context a connection to the EIS instance has been established.

Returns:String

String representing the user name

Exceptions
ResourceException:
Failed to get the information for the EIS instance