FileDocCategorySizeDatePackage
ConnectionMetaData.javaAPI DocGlassfish v2 API3654Fri May 04 22:35:34 BST 2007javax.resource.cci

ConnectionMetaData

public interface ConnectionMetaData
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.
version
0.8
author
Rahul Sharma
see
javax.resource.cci.Connection
see
javax.resource.cci.ResultSetInfo

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetEISProductName()
Returns product name of the underlying EIS instance connected through the Connection that produced this metadata.

return
Product name of the EIS instance
throws
ResourceException Failed to get the information for the EIS instance

public java.lang.StringgetEISProductVersion()
Returns product version of the underlying EIS instance.

return
Product version of an EIS instance.
throws
ResourceException Failed to get the information for the EIS instance

public java.lang.StringgetUserName()
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.

return
String representing the user name
throws
ResourceException Failed to get the information for the EIS instance