org.objectweb.joram.client.connector

Class ManagedConnectionMetaDataImpl

Implemented Interfaces:
javax.resource.spi.ManagedConnectionMetaData

public class ManagedConnectionMetaDataImpl
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionMetaData

A ManagedConnectionMetaDataImpl instance provides information related to a managed connection.

Constructor Summary

ManagedConnectionMetaDataImpl(String userName)
Constructs a ManagedConnectionMetaDataImpl instance.

Method Summary

String
getEISProductName()
Returns JORAM's name.
String
getEISProductVersion()
Returns the current JORAM release number.
int
getMaxConnections()
Returns 0 as JORAM as no upper limit of active connections.
String
getUserName()
Returns the name of the user associated with the managed connection.

Constructor Details

ManagedConnectionMetaDataImpl

public ManagedConnectionMetaDataImpl(String userName)
Constructs a ManagedConnectionMetaDataImpl instance.

Method Details

getEISProductName

public String getEISProductName()
            throws ResourceException
Returns JORAM's name.


getEISProductVersion

public String getEISProductVersion()
            throws ResourceException
Returns the current JORAM release number.


getMaxConnections

public int getMaxConnections()
            throws ResourceException
Returns 0 as JORAM as no upper limit of active connections.


getUserName

public String getUserName()
            throws ResourceException
Returns the name of the user associated with the managed connection.


Copyright B) 2004 Scalagent - All rights reserved