javax.wbem.client
Class WBEMClientConstants

java.lang.Object
  extended by javax.wbem.client.WBEMClientConstants

public class WBEMClientConstants
extends Object

This class defines the constants used for WBEMClient configuration.


Field Summary
static String PROP_ENABLE_CONSOLE_LOGGING
          Set this property "1" to enable logging to the console.
static String PROP_ENABLE_FILE_LOGGING
          Set this property to "1" to enable logging to a file.
static String PROP_LOG_BYTE_LIMIT
          The maximum size in bytes for each log file.
static String PROP_LOG_DIR
          Set this property to the directory where the log files are created.
static String PROP_LOG_FILENAME
          The name client log file.
static String PROP_LOG_NUM_FILES
          The number of log files that will be used.
static String PROP_TIMEOUT
          The timeout for the client to wait for connections.
static String PROTOCOL_CIMXML
          The CIM-XML Protocol as defined by the DMTF in the following specifications:
static String PROTOCOL_WSMANAGEMENT
          The WS-Management Protocol as defined by the DMTF in the following specifications:
 
Constructor Summary
WBEMClientConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_ENABLE_CONSOLE_LOGGING

public static final String PROP_ENABLE_CONSOLE_LOGGING
Set this property "1" to enable logging to the console. Set to "0" to disable. The default is 0.

See Also:
Constant Field Values

PROP_ENABLE_FILE_LOGGING

public static final String PROP_ENABLE_FILE_LOGGING
Set this property to "1" to enable logging to a file. Set to "0" to disable. The default is 0.

See Also:
Constant Field Values

PROP_LOG_BYTE_LIMIT

public static final String PROP_LOG_BYTE_LIMIT
The maximum size in bytes for each log file. The default is 5MB. Note that when the last entry is written, it may go past the limit.

See Also:
Constant Field Values

PROP_LOG_DIR

public static final String PROP_LOG_DIR
Set this property to the directory where the log files are created. The default is the directory in which the WBEM client program is run.

See Also:
Constant Field Values

PROP_LOG_FILENAME

public static final String PROP_LOG_FILENAME
The name client log file. For a WBEM client using the CIM-XML or WS-Management protocol the default is cimclient_log_N.txt where N is the logfile number. The first client log file number is 0.

See Also:
Constant Field Values

PROP_LOG_NUM_FILES

public static final String PROP_LOG_NUM_FILES
The number of log files that will be used. They will be used in round-robin fashion. The default is 3.

See Also:
Constant Field Values

PROP_TIMEOUT

public static final String PROP_TIMEOUT
The timeout for the client to wait for connections. This value is in milliseconds. The default is 0 - unlimited. This value must be a valid Integer.

See Also:
Constant Field Values

PROTOCOL_CIMXML

public static final String PROTOCOL_CIMXML
The CIM-XML Protocol as defined by the DMTF in the following specifications:
 DSP0200 - CIM Operations over HTTP 
 DSP0201 - Representation of CIM Using XML 
 DSP0203 - CIM DTD
 

See Also:
Constant Field Values

PROTOCOL_WSMANAGEMENT

public static final String PROTOCOL_WSMANAGEMENT
The WS-Management Protocol as defined by the DMTF in the following specifications:
 DSP0226 - WS-Management 
 DSP0227 - WS-Management CIM Binding Specification 
 DSP0230 - WS-CIM Mapping Specification
 

See Also:
Constant Field Values
Constructor Detail

WBEMClientConstants

public WBEMClientConstants()


Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.