-
public interface ConnectionMetaData
The interfaceConnectionMetaData
provides information about an EIS instance connected through a Connection instance. A component calls the methodConnection.getMetaData
to get aConnectionMetaData
instance.- Version:
- 0.8
- Author:
- Rahul Sharma
- See Also:
Connection
,ResultSetInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description String
getEISProductName()
Returns product name of the underlying EIS instance connected through the Connection that produced this metadata.String
getEISProductVersion()
Returns product version of the underlying EIS instance.String
getUserName()
Returns the user name for an active connection as known to the underlying EIS instance.
-
-
-
Method Detail
-
getEISProductName
String getEISProductName() throws ResourceException
Returns product name of the underlying EIS instance connected through the Connection that produced this metadata.- Returns:
- Product name of the EIS instance
- Throws:
ResourceException
- Failed to get the information for the EIS instance
-
getEISProductVersion
String getEISProductVersion() throws ResourceException
Returns product version of the underlying EIS instance.- Returns:
- Product version of an EIS instance.
- Throws:
ResourceException
- Failed to get the information for the EIS instance
-
getUserName
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 representing the user name
- Throws:
ResourceException
- Failed to get the information for the EIS instance
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/resource/cci/connectionmetadata.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.