mandala.jacob.remote.gpf
Class CommonProperties

java.lang.Object
  extended bymandala.jacob.remote.gpf.CommonProperties
Direct Known Subclasses:
CommonRMIProperties, CommonRMIProperties

public class CommonProperties
extends Object

Common properties used by any server.

Version:
$Revision: 1.1 $
Author:
eipi

Field Summary
protected static String COMMON_PROPERTY_USAGE_DOC
           
protected static String COMMON_PROPERTY_USAGE_HEADER
           
protected static String COMMON_PROPERTY_USAGE_LIST
           
static String DEBUG_STREAM_PROPERTY
           
static String DEFAULT_DEBUG_STREAM_PROPERTY
           
static String DEFAULT_ERROR_STREAM_PROPERTY
           
static String DEFAULT_LOG_STREAM_PROPERTY
           
static String ERROR_STREAM_PROPERTY
           
static String LOCALHOST_NAME_BUG_PROPERTY
           
static String LOG_STREAM_PROPERTY
           
static String NO_STREAM_PROPERTY_VALUE
           
static String STDERR_STREAM_PROPERTY_VALUE
           
static String STDOUT_STREAM_PROPERTY_VALUE
           
 
Constructor Summary
CommonProperties()
           
 
Method Summary
static String getLocalHost(Properties properties, Syslog syslog)
           
static String getPropertyUsage()
           
static String getPropertyUsage(String listPrefix, String docPrefix)
           
static boolean setStaticProperties(Properties properties, Syslog syslog)
          Sets static properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_STREAM_PROPERTY

public static final String LOG_STREAM_PROPERTY
See Also:
Constant Field Values

DEBUG_STREAM_PROPERTY

public static final String DEBUG_STREAM_PROPERTY
See Also:
Constant Field Values

ERROR_STREAM_PROPERTY

public static final String ERROR_STREAM_PROPERTY
See Also:
Constant Field Values

NO_STREAM_PROPERTY_VALUE

public static final String NO_STREAM_PROPERTY_VALUE
See Also:
Constant Field Values

STDOUT_STREAM_PROPERTY_VALUE

public static final String STDOUT_STREAM_PROPERTY_VALUE
See Also:
Constant Field Values

STDERR_STREAM_PROPERTY_VALUE

public static final String STDERR_STREAM_PROPERTY_VALUE
See Also:
Constant Field Values

DEFAULT_LOG_STREAM_PROPERTY

public static final String DEFAULT_LOG_STREAM_PROPERTY
See Also:
Constant Field Values

DEFAULT_DEBUG_STREAM_PROPERTY

public static final String DEFAULT_DEBUG_STREAM_PROPERTY
See Also:
Constant Field Values

DEFAULT_ERROR_STREAM_PROPERTY

public static final String DEFAULT_ERROR_STREAM_PROPERTY
See Also:
Constant Field Values

COMMON_PROPERTY_USAGE_HEADER

protected static final String COMMON_PROPERTY_USAGE_HEADER
See Also:
Constant Field Values

COMMON_PROPERTY_USAGE_LIST

protected static final String COMMON_PROPERTY_USAGE_LIST
See Also:
Constant Field Values

COMMON_PROPERTY_USAGE_DOC

protected static final String COMMON_PROPERTY_USAGE_DOC
See Also:
Constant Field Values

LOCALHOST_NAME_BUG_PROPERTY

public static final String LOCALHOST_NAME_BUG_PROPERTY
See Also:
Constant Field Values
Constructor Detail

CommonProperties

public CommonProperties()
Method Detail

getPropertyUsage

public static String getPropertyUsage()

getPropertyUsage

public static String getPropertyUsage(String listPrefix,
                                      String docPrefix)

setStaticProperties

public static boolean setStaticProperties(Properties properties,
                                          Syslog syslog)

Sets static properties.

Parameters:
properties - a Properties value
syslog - a Syslog value
Returns:
true if everything have been set succesfully, false otherwise

getLocalHost

public static String getLocalHost(Properties properties,
                                  Syslog syslog)


Mandala help mailing list