public class FBManagedConnectionMetaData
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionMetaData
FBManagedConnectionMetaData
implements
javax.resource.sqi.ManagedConnectionMetaData
, providing almost
no useful information.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEISProductName()
Returns Product name of the underlying EIS instance connected through
the
ManagedConnection . |
java.lang.String |
getEISProductVersion()
Returns product version of the underlying EIS instance connected
through the
ManagedConnection . |
int |
getMaxConnections()
Returns maximum limit on number of active concurrent connections that
an EIS instance can support across client processes.
|
java.lang.String |
getUserName()
Returns name of the user associated with the
ManagedConnection instance. |
public java.lang.String getEISProductName() throws javax.resource.ResourceException
ManagedConnection
.getEISProductName
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
- generic exceptionpublic java.lang.String getEISProductVersion() throws javax.resource.ResourceException
ManagedConnection
.getEISProductVersion
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
- generic exceptionpublic int getMaxConnections() throws javax.resource.ResourceException
getMaxConnections
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
- generic exceptionpublic java.lang.String getUserName() throws javax.resource.ResourceException
ManagedConnection
instance. The name corresponds to the
resource principal under whose whose security context, a connection to
the EIS instance has been established.getUserName
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
- generic exceptionCopyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.