org.jcoderz.commons.connector.file
Class FsManagedConnectionMetaData

java.lang.Object
  extended by org.jcoderz.commons.connector.file.FsManagedConnectionMetaData
All Implemented Interfaces:
ManagedConnectionMetaData

public class FsManagedConnectionMetaData
extends Object
implements ManagedConnectionMetaData

Provides a set of Meta Data describing this File System Connector.


Field Summary
static String EIS_PRODUCT_NAME
          The product name.
static String EIS_PRODUCT_VERSION
          The product version.
static int MAX_CONNECTIONS
          Maximum limit on number of active concurrent connections that the File System Connector can support across client processes. 0 means that the connector does not have any limit.
 
Constructor Summary
FsManagedConnectionMetaData(String userName)
          Contructor.
 
Method Summary
 String getEISProductName()
          
 String getEISProductVersion()
          
 int getMaxConnections()
          Returns 0. 0 means that this connector does not have any limit.
 String getUserName()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EIS_PRODUCT_NAME

public static final String EIS_PRODUCT_NAME
The product name.

See Also:
Constant Field Values

EIS_PRODUCT_VERSION

public static final String EIS_PRODUCT_VERSION
The product version.

See Also:
Constant Field Values

MAX_CONNECTIONS

public static final int MAX_CONNECTIONS
Maximum limit on number of active concurrent connections that the File System Connector can support across client processes. 0 means that the connector does not have any limit.

See Also:
Constant Field Values
Constructor Detail

FsManagedConnectionMetaData

public FsManagedConnectionMetaData(String userName)
Contructor.

Parameters:
userName - to be set, can be null.
Method Detail

getEISProductName

public String getEISProductName()
                         throws ResourceException

Specified by:
getEISProductName in interface ManagedConnectionMetaData
Throws:
ResourceException

getEISProductVersion

public String getEISProductVersion()
                            throws ResourceException

Specified by:
getEISProductVersion in interface ManagedConnectionMetaData
Throws:
ResourceException

getMaxConnections

public int getMaxConnections()
                      throws ResourceException
Returns 0. 0 means that this connector does not have any limit.

Specified by:
getMaxConnections in interface ManagedConnectionMetaData
Returns:
0
Throws:
ResourceException - never thrown.
See Also:
ManagedConnectionMetaData.getMaxConnections()

getUserName

public String getUserName()
                   throws ResourceException

Specified by:
getUserName in interface ManagedConnectionMetaData
Throws:
ResourceException


Copyright 2007 The jCoderZ Project.