org.jcoderz.commons.connector.http
Class HttpManagedConnectionMetaData

java.lang.Object
  extended by org.jcoderz.commons.connector.http.HttpManagedConnectionMetaData
All Implemented Interfaces:
ManagedConnectionMetaData

public class HttpManagedConnectionMetaData
extends Object
implements ManagedConnectionMetaData

This class specifies meta data for a managed http connection.


Method Summary
 String getEISProductName()
          Gets the product name of the connector.
 String getEISProductVersion()
          Gets the product version of the connector.
 int getMaxConnections()
          Gets the maximum number of physical connections to the backend.
 String getUserName()
          Gets the name of the current user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEISProductName

public String getEISProductName()
                         throws ResourceException
Gets the product name of the connector.

Specified by:
getEISProductName in interface ManagedConnectionMetaData
Returns:
String - the EIS name
Throws:
ResourceException - - as expected by the application server

getEISProductVersion

public String getEISProductVersion()
                            throws ResourceException
Gets the product version of the connector.

Specified by:
getEISProductVersion in interface ManagedConnectionMetaData
Returns:
String - the version of the EIS
Throws:
ResourceException - - as expected by the application server

getUserName

public String getUserName()
                   throws ResourceException
Gets the name of the current user. Not usefull.

Specified by:
getUserName in interface ManagedConnectionMetaData
Returns:
String - "N/A"
Throws:
ResourceException - - as expected by the application server

getMaxConnections

public int getMaxConnections()
                      throws ResourceException
Gets the maximum number of physical connections to the backend.

Specified by:
getMaxConnections in interface ManagedConnectionMetaData
Returns:
int - the maximum number of physical connections
Throws:
ResourceException - - as expected by the application server


Copyright 2007 The jCoderZ Project.