org.firebirdsql.jca

Class FBManagedConnectionMetaData

Implemented Interfaces:
ManagedConnectionMetaData

public class FBManagedConnectionMetaData
extends java.lang.Object
implements ManagedConnectionMetaData

The class FBManagedConnectionMetaData implements javax.resource.sqi.ManagedConnectionMetaData, providing almost no useful information.
Version:
1.0
Author:
David Jencks

Method Summary

String
getEISProductName()
Returns Product name of the underlying EIS instance connected through the ManagedConnection.
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.
String
getUserName()
Returns name of the user associated with the ManagedConnection instance.

Method Details

getEISProductName

public String getEISProductName()
            throws ResourceException
Returns Product name of the underlying EIS instance connected through the ManagedConnection.
Returns:
Product name of the EIS instance.

getEISProductVersion

public String getEISProductVersion()
            throws ResourceException
Returns product version of the underlying EIS instance connected through the ManagedConnection.
Returns:
Product version of the EIS instance

getMaxConnections

public int getMaxConnections()
            throws ResourceException
Returns 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.
Returns:
Maximum limit for number of active concurrent connections

getUserName

public String getUserName()
            throws ResourceException
Returns name of the user associated with the ManagedConnection instance. The name corresponds to the resource principal under whose whose security context, a connection to the EIS instance has been established.
Returns:
name of the user

Copyright B) 2001 David Jencks and other authors. All rights reserved.