Class WBEMClientConstants


  • public class WBEMClientConstants
    extends java.lang.Object
    This class defines the constants used for WBEMClient configuration. If a property is tagged as optional an implementation may or may not support the property. If the implementation does not support the property, it must throw an IllegalArgumentException if the property value is attempted to be set.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PROP_CLIENT_CIPHERS
      Use this property to set the list of ciphers the client will support.
      static java.lang.String PROP_CLIENT_KEYSTORE
      This property along with the PROP_CLIENT_KEYSTORE_PASSWORD and PROP_CLIENT_TRUSTSTORE are used to configure mutual authentication.
      static java.lang.String PROP_CLIENT_KEYSTORE_PASSWORD
      This property along with the PROP_CLIENT_KEYSTORE and PROP_CLIENT_TRUSTSTORE are used to configure mutual authentication.
      static java.lang.String PROP_CLIENT_TRUSTSTORE
      This property along with the PROP_CLIENT_KEYSTORE and PROP_CLIENT_KEYSTORE_PASSWORD are used to configure mutual authentication.
      static java.lang.String PROP_ENABLE_CONSOLE_LOGGING
      The value for this property is the level of debug requested.
      static java.lang.String PROP_ENABLE_FILE_LOGGING
      The value for this property is the level of debug requested.
      static java.lang.String PROP_LOG_BYTE_LIMIT
      The maximum size in bytes for each log file.
      static java.lang.String PROP_LOG_DIR
      Set this property to the directory where the log files are created.
      static java.lang.String PROP_LOG_FILENAME
      The name of the client log file.
      static java.lang.String PROP_LOG_NUM_FILES
      The number of log files that will be used.
      static java.lang.String PROP_TIMEOUT
      The timeout for the client to wait for connections.
      static java.lang.String PROPERTY_WBEM_CHUNKING
      This property will enable HTTP chunking for a client request.
      static java.lang.String PROTOCOL_CIMXML
      The CIM-XML Protocol as defined by the DMTF in the following specifications:
      static java.lang.String PROTOCOL_WSMANAGEMENT
      The WS-Management Protocol as defined by the DMTF in the following specifications:
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PROP_CLIENT_CIPHERS

        public static final java.lang.String PROP_CLIENT_CIPHERS
        Use this property to set the list of ciphers the client will support. Setting this value to null will use the default set of ciphers provided by the version of Java being used. Optional.
        See Also:
        Constant Field Values
      • PROP_CLIENT_KEYSTORE

        public static final java.lang.String PROP_CLIENT_KEYSTORE
        This property along with the PROP_CLIENT_KEYSTORE_PASSWORD and PROP_CLIENT_TRUSTSTORE are used to configure mutual authentication. This property is used to provide the filename of the keystore. The path can be relative or full. Optional.
        See Also:
        Constant Field Values
      • PROP_CLIENT_KEYSTORE_PASSWORD

        public static final java.lang.String PROP_CLIENT_KEYSTORE_PASSWORD
        This property along with the PROP_CLIENT_KEYSTORE and PROP_CLIENT_TRUSTSTORE are used to configure mutual authentication. This property is used to provide the password of the keystore. Optional.
        See Also:
        Constant Field Values
      • PROP_CLIENT_TRUSTSTORE

        public static final java.lang.String PROP_CLIENT_TRUSTSTORE
        This property along with the PROP_CLIENT_KEYSTORE and PROP_CLIENT_KEYSTORE_PASSWORD are used to configure mutual authentication. This property is used to provide the filename of the truststore. The path can be relative or full. Optional.
        See Also:
        Constant Field Values
      • PROP_ENABLE_CONSOLE_LOGGING

        public static final java.lang.String PROP_ENABLE_CONSOLE_LOGGING
        The value for this property is the level of debug requested.
        See Also:
        Constant Field Values
      • PROP_ENABLE_FILE_LOGGING

        public static final java.lang.String PROP_ENABLE_FILE_LOGGING
        The value for this property is the level of debug requested.
        See Also:
        Constant Field Values
      • PROP_LOG_BYTE_LIMIT

        public static final java.lang.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 java.lang.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 java.lang.String PROP_LOG_FILENAME
        The name of the 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 java.lang.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 java.lang.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
      • PROPERTY_WBEM_CHUNKING

        public static final java.lang.String PROPERTY_WBEM_CHUNKING
        This property will enable HTTP chunking for a client request. Set this property to "1" to use chunking. Set to "0" to not use chunking. The default is 1. Optional.
        See Also:
        Constant Field Values
      • PROTOCOL_CIMXML

        public static final java.lang.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 java.lang.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()