public class ManagedConnectionMetaDataImpl extends Object implements javax.resource.spi.ManagedConnectionMetaData
ManagedConnectionMetaDataImpl
instance provides information
related to a managed connection.Modifier and Type | Field and Description |
---|---|
static org.objectweb.util.monolog.api.Logger |
logger |
private String |
userName
Name of the user associated with the managed connection.
|
Constructor and Description |
---|
ManagedConnectionMetaDataImpl(String userName)
Constructs a
ManagedConnectionMetaDataImpl instance. |
Modifier and Type | Method and Description |
---|---|
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.
|
public static org.objectweb.util.monolog.api.Logger logger
private String userName
public ManagedConnectionMetaDataImpl(String userName)
ManagedConnectionMetaDataImpl
instance.public String getEISProductName() throws javax.resource.ResourceException
getEISProductName
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
public String getEISProductVersion() throws javax.resource.ResourceException
getEISProductVersion
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
public int getMaxConnections() throws javax.resource.ResourceException
getMaxConnections
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
public String getUserName() throws javax.resource.ResourceException
getUserName
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
Copyright © 2018 ScalAgent D.T.. All Rights Reserved.