com.infoengine.connector
Class IeManagedConnectionMetaData

java.lang.Object
  extended bycom.infoengine.connector.IeManagedConnectionMetaData
All Implemented Interfaces:
javax.resource.cci.ConnectionMetaData, javax.resource.spi.ManagedConnectionMetaData

public class IeManagedConnectionMetaData
extends Object
implements javax.resource.spi.ManagedConnectionMetaData, javax.resource.cci.ConnectionMetaData

ManagedConnectionMetaData


Field Summary
private  String EISProductName
           
private  String EISProductVersion
           
private  int maxConnections
           
private  String userName
           
 
Constructor Summary
(package private) IeManagedConnectionMetaData(IeConnection cx)
          create IeManagedConnectionMetaData using connection handle cx.
 
Method Summary
 String getEISProductName()
          get the EIS product name
 String getEISProductVersion()
          get the EIS product version
 int getMaxConnections()
          get the maximum number of allowed connections
 String getUserName()
          get the user name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EISProductName

private String EISProductName

EISProductVersion

private String EISProductVersion

maxConnections

private int maxConnections

userName

private String userName
Constructor Detail

IeManagedConnectionMetaData

IeManagedConnectionMetaData(IeConnection cx)
                      throws javax.resource.ResourceException
create IeManagedConnectionMetaData using connection handle cx. cx should NOT be closed.

Parameters:
cx - connection handle
Throws:
javax.resource.ResourceException - if an error occurs when retrieving the metadata
Method Detail

getEISProductName

public String getEISProductName()
                         throws javax.resource.ResourceException
get the EIS product name

Specified by:
getEISProductName in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
String
Throws:
javax.resource.ResourceException - (not really)

getEISProductVersion

public String getEISProductVersion()
                            throws javax.resource.ResourceException
get the EIS product version

Specified by:
getEISProductVersion in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
String
Throws:
javax.resource.ResourceException - (not really)

getMaxConnections

public int getMaxConnections()
                      throws javax.resource.ResourceException
get the maximum number of allowed connections

Specified by:
getMaxConnections in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
int
Throws:
javax.resource.ResourceException - (not really)

getUserName

public String getUserName()
                   throws javax.resource.ResourceException
get the user name

Specified by:
getUserName in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
String
Throws:
javax.resource.ResourceException - (not really)