Class ManagedConnectionMetaDataImpl
- java.lang.Object
-
- org.objectweb.joram.client.connector.ManagedConnectionMetaDataImpl
-
- All Implemented Interfaces:
ManagedConnectionMetaData
public class ManagedConnectionMetaDataImpl extends Object implements 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 ResourceException
Returns JORAM's name.- Specified by:
getEISProductNamein interfaceManagedConnectionMetaData- Throws:
ResourceException
-
getEISProductVersion
public String getEISProductVersion() throws ResourceException
Returns the current JORAM release number.- Specified by:
getEISProductVersionin interfaceManagedConnectionMetaData- Throws:
ResourceException
-
getMaxConnections
public int getMaxConnections() throws ResourceExceptionReturns 0 as JORAM as no upper limit of active connections.- Specified by:
getMaxConnectionsin interfaceManagedConnectionMetaData- Throws:
ResourceException
-
getUserName
public String getUserName() throws ResourceException
Returns the name of the user associated with the managed connection.- Specified by:
getUserNamein interfaceManagedConnectionMetaData- Throws:
ResourceException
-
-