org.objectweb.joram.client.connector
Class ManagedConnectionMetaDataImpl

java.lang.Object
  extended byorg.objectweb.joram.client.connector.ManagedConnectionMetaDataImpl
All 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(java.lang.String userName)
          Constructs a ManagedConnectionMetaDataImpl instance.
 
Method Summary
 java.lang.String getEISProductName()
          Returns JORAM's name.
 java.lang.String getEISProductVersion()
          Returns the current JORAM release number.
 int getMaxConnections()
          Returns 0 as JORAM as no upper limit of active connections.
 java.lang.String getUserName()
          Returns the name of the user associated with the managed connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedConnectionMetaDataImpl

public ManagedConnectionMetaDataImpl(java.lang.String userName)
Constructs a ManagedConnectionMetaDataImpl instance.

Method Detail

getEISProductName

public java.lang.String getEISProductName()
                                   throws javax.resource.ResourceException
Returns JORAM's name.

Specified by:
getEISProductName in interface javax.resource.spi.ManagedConnectionMetaData
Throws:
javax.resource.ResourceException

getEISProductVersion

public java.lang.String getEISProductVersion()
                                      throws javax.resource.ResourceException
Returns the current JORAM release number.

Specified by:
getEISProductVersion in interface javax.resource.spi.ManagedConnectionMetaData
Throws:
javax.resource.ResourceException

getMaxConnections

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

Specified by:
getMaxConnections in interface javax.resource.spi.ManagedConnectionMetaData
Throws:
javax.resource.ResourceException

getUserName

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

Specified by:
getUserName in interface javax.resource.spi.ManagedConnectionMetaData
Throws:
javax.resource.ResourceException


Copyright ? 2004 Scalagent - All rights reserved