Package org.ow2.joram.jakarta.connector
Class ManagedConnectionMetaDataImpl
- java.lang.Object
-
- org.ow2.joram.jakarta.connector.ManagedConnectionMetaDataImpl
-
- All Implemented Interfaces:
jakarta.resource.spi.ManagedConnectionMetaData
public class ManagedConnectionMetaDataImpl extends Object implements jakarta.resource.spi.ManagedConnectionMetaData
AManagedConnectionMetaDataImplinstance provides information related to a managed connection.
-
-
Constructor Summary
Constructors Constructor Description ManagedConnectionMetaDataImpl(String userName)Constructs aManagedConnectionMetaDataImplinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEISProductName()Returns JORAM's name.StringgetEISProductVersion()Returns the current JORAM release number.intgetMaxConnections()Returns 0 as JORAM as no upper limit of active connections.StringgetUserName()Returns the name of the user associated with the managed connection.
-
-
-
Constructor Detail
-
ManagedConnectionMetaDataImpl
public ManagedConnectionMetaDataImpl(String userName)
Constructs aManagedConnectionMetaDataImplinstance.
-
-
Method Detail
-
getEISProductName
public String getEISProductName() throws jakarta.resource.ResourceException
Returns JORAM's name.- Specified by:
getEISProductNamein interfacejakarta.resource.spi.ManagedConnectionMetaData- Throws:
jakarta.resource.ResourceException
-
getEISProductVersion
public String getEISProductVersion() throws jakarta.resource.ResourceException
Returns the current JORAM release number.- Specified by:
getEISProductVersionin interfacejakarta.resource.spi.ManagedConnectionMetaData- Throws:
jakarta.resource.ResourceException
-
getMaxConnections
public int getMaxConnections() throws jakarta.resource.ResourceExceptionReturns 0 as JORAM as no upper limit of active connections.- Specified by:
getMaxConnectionsin interfacejakarta.resource.spi.ManagedConnectionMetaData- Throws:
jakarta.resource.ResourceException
-
getUserName
public String getUserName() throws jakarta.resource.ResourceException
Returns the name of the user associated with the managed connection.- Specified by:
getUserNamein interfacejakarta.resource.spi.ManagedConnectionMetaData- Throws:
jakarta.resource.ResourceException
-
-