public class SampleManagedConnectionMetaDataImpl
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionMetaData
This class implements the javax.resource.spi.ManagedConnectionMetaData interface.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright statement.
|
Constructor and Description |
---|
SampleManagedConnectionMetaDataImpl(SampleManagedConnection smc)
SampleManagedConnectionMetaDataImpl constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEISProductName()
This method gets the enterprise information system product name.
|
java.lang.String |
getEISProductVersion()
This method gets the enterprise information system product version.
|
int |
getMaxConnections()
This method gets the maximum number of connections.
|
java.lang.String |
getUserName()
This method gets the user name.
|
public static final java.lang.String COPYRIGHT
public SampleManagedConnectionMetaDataImpl(SampleManagedConnection smc)
SampleManagedConnection
- public java.lang.String getEISProductName() throws javax.resource.ResourceException
getEISProductName
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
public java.lang.String getEISProductVersion() throws javax.resource.ResourceException
getEISProductVersion
in interface javax.resource.spi.ManagedConnectionMetaData
javax.resource.ResourceException
public java.lang.String getUserName() throws javax.resource.ResourceException
getUserName
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