com.jfw.status
Class UtilAdministration

java.lang.Object
  extended by com.jfw.status.UtilAdministration

public final class UtilAdministration
extends java.lang.Object

Various utils methods.
All methods are static and thread safe.


Field Summary
static byte[] endMessage
          The suffix that indicate the end of log trasmission.
static java.lang.String POOL_TYPE
          The string indcating a connection pool in jfw.properties.
 
Constructor Summary
UtilAdministration()
           
 
Method Summary
static int getConnectionPoolNames(java.util.HashMap outputData)
          Get the connection pools names from jfw.properties.
static java.lang.String getPoolName(javax.servlet.http.HttpServletRequest request)
          Get the pool name request from the browser to be show.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POOL_TYPE

public static final java.lang.String POOL_TYPE
The string indcating a connection pool in jfw.properties.

See Also:
Constant Field Values

endMessage

public static final byte[] endMessage
The suffix that indicate the end of log trasmission.

Constructor Detail

UtilAdministration

public UtilAdministration()
Method Detail

getConnectionPoolNames

public static int getConnectionPoolNames(java.util.HashMap outputData)
Get the connection pools names from jfw.properties.

Parameters:
outputData - the output HashMap container.
Returns:
the number of the connection pools defined in jfw.properties.

getPoolName

public static java.lang.String getPoolName(javax.servlet.http.HttpServletRequest request)
Get the pool name request from the browser to be show.

Returns:
the pool name request from the browser to be show. If no pool is request then the name of the first pool found in jfw.properties is return.