Package org.firebirdsql.jca
Class FBManagedConnectionMetaData
java.lang.Object
org.firebirdsql.jca.FBManagedConnectionMetaData
- All Implemented Interfaces:
javax.resource.spi.ManagedConnectionMetaData
public class FBManagedConnectionMetaData
extends Object
implements javax.resource.spi.ManagedConnectionMetaData
The class
FBManagedConnectionMetaData implements
javax.resource.sqi.ManagedConnectionMetaData, providing almost
no useful information.- Version:
- 1.0
- Author:
- David Jencks
-
Method Summary
Modifier and TypeMethodDescriptionReturns Product name of the underlying EIS instance connected through theManagedConnection.Returns product version of the underlying EIS instance connected through theManagedConnection.intReturns maximum limit on number of active concurrent connections that an EIS instance can support across client processes.Returns name of the user associated with theManagedConnectioninstance.
-
Method Details
-
getEISProductName
Returns Product name of the underlying EIS instance connected through theManagedConnection.- Specified by:
getEISProductNamein interfacejavax.resource.spi.ManagedConnectionMetaData- Returns:
- Product name of the EIS instance.
- Throws:
javax.resource.ResourceException- generic exception
-
getEISProductVersion
Returns product version of the underlying EIS instance connected through theManagedConnection.- Specified by:
getEISProductVersionin interfacejavax.resource.spi.ManagedConnectionMetaData- Returns:
- Product version of the EIS instance
- Throws:
javax.resource.ResourceException- generic exception
-
getMaxConnections
public int getMaxConnections() throws javax.resource.ResourceExceptionReturns maximum limit on number of active concurrent connections that an EIS instance can support across client processes. If an EIS instance does not know about (or does not have) any such limit, it returns a 0.- Specified by:
getMaxConnectionsin interfacejavax.resource.spi.ManagedConnectionMetaData- Returns:
- Maximum limit for number of active concurrent connections
- Throws:
javax.resource.ResourceException- generic exception
-
getUserName
Returns name of the user associated with theManagedConnectioninstance. The name corresponds to the resource principal under whose whose security context, a connection to the EIS instance has been established.- Specified by:
getUserNamein interfacejavax.resource.spi.ManagedConnectionMetaData- Returns:
- name of the user
- Throws:
javax.resource.ResourceException- generic exception
-