Package org.firebirdsql.jca
Class FBManagedConnectionMetaData
- java.lang.Object
- 
- org.firebirdsql.jca.FBManagedConnectionMetaData
 
- 
- All Implemented Interfaces:
- javax.resource.spi.ManagedConnectionMetaData
 
 public class FBManagedConnectionMetaData extends java.lang.Object implements javax.resource.spi.ManagedConnectionMetaDataThe classFBManagedConnectionMetaDataimplementsjavax.resource.sqi.ManagedConnectionMetaData, providing almost no useful information.- Version:
- 1.0
- Author:
- David Jencks
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEISProductName()Returns Product name of the underlying EIS instance connected through theManagedConnection.java.lang.StringgetEISProductVersion()Returns product version of the underlying EIS instance connected through theManagedConnection.intgetMaxConnections()Returns maximum limit on number of active concurrent connections that an EIS instance can support across client processes.java.lang.StringgetUserName()Returns name of the user associated with theManagedConnectioninstance.
 
- 
- 
- 
Method Detail- 
getEISProductNamepublic java.lang.String getEISProductName() throws javax.resource.ResourceExceptionReturns Product name of the underlying EIS instance connected through theManagedConnection.- Specified by:
- getEISProductNamein interface- javax.resource.spi.ManagedConnectionMetaData
- Returns:
- Product name of the EIS instance.
- Throws:
- javax.resource.ResourceException- generic exception
 
 - 
getEISProductVersionpublic java.lang.String getEISProductVersion() throws javax.resource.ResourceExceptionReturns product version of the underlying EIS instance connected through theManagedConnection.- Specified by:
- getEISProductVersionin interface- javax.resource.spi.ManagedConnectionMetaData
- Returns:
- Product version of the EIS instance
- Throws:
- javax.resource.ResourceException- generic exception
 
 - 
getMaxConnectionspublic 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 interface- javax.resource.spi.ManagedConnectionMetaData
- Returns:
- Maximum limit for number of active concurrent connections
- Throws:
- javax.resource.ResourceException- generic exception
 
 - 
getUserNamepublic java.lang.String getUserName() throws javax.resource.ResourceExceptionReturns 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 interface- javax.resource.spi.ManagedConnectionMetaData
- Returns:
- name of the user
- Throws:
- javax.resource.ResourceException- generic exception
 
 
- 
 
-