FileDocCategorySizeDatePackage
SnmpProperties.javaAPI DocJava SE 5 API5238Fri Aug 26 14:55:06 BST 2005com.sun.jmx.snmp.defaults

SnmpProperties

public class SnmpProperties extends Object
This class reads a file containing the property list defined for Java DMK and adds all the read properties to the list of system properties.

This API is a Sun Microsystems internal API and is subject to change without notice.

version
1.10 12/19/03
author
Sun Microsystems, Inc
since
1.5

Fields Summary
public static final String
MLET_LIB_DIR
References the property that specifies the directory where the native libraries will be stored before the MLet Service loads them into memory.

Property Name: jmx.mlet.library.dir

public static final String
ACL_FILE
References the property that specifies the ACL file used by the SNMP protocol adaptor.

Property Name: jdmk.acl.file

public static final String
SECURITY_FILE
References the property that specifies the Security file used by the SNMP protocol adaptor.

Property Name: jdmk.security.file

public static final String
UACL_FILE
References the property that specifies the User ACL file used by the SNMP protocol adaptor.

Property Name: jdmk.uacl.file

public static final String
MIB_CORE_FILE
References the property that specifies the default mib_core file used by the mibgen compiler.

Property Name: mibcore.file

public static final String
JMX_SPEC_NAME
References the property that specifies the full name of the JMX specification implemented by this product.

Property Name: jmx.specification.name

public static final String
JMX_SPEC_VERSION
References the property that specifies the version of the JMX specification implemented by this product.

Property Name: jmx.specification.version

public static final String
JMX_SPEC_VENDOR
References the property that specifies the vendor of the JMX specification implemented by this product.

Property Name: jmx.specification.vendor

public static final String
JMX_IMPL_NAME
References the property that specifies the full name of this product implementing the JMX specification.

Property Name: jmx.implementation.name

public static final String
JMX_IMPL_VENDOR
References the property that specifies the name of the vendor of this product implementing the JMX specification.

Property Name: jmx.implementation.vendor

public static final String
JMX_IMPL_VERSION
References the property that specifies the version of this product implementing the JMX specification.

Property Name: jmx.implementation.version

public static final String
SSL_CIPHER_SUITE
References the property that specifies the SSL cipher suites to be enabled by the HTTP/SSL connector.

Property Name: jdmk.ssl.cipher.suite.

The list of SSL cipher suites is specified in the format:

jdmk.ssl.cipher.suite.<n>=<cipher suite name>

For example:

jdmk.ssl.cipher.suite.1=SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
jdmk.ssl.cipher.suite.2=SSL_RSA_EXPORT_WITH_RC4_40_MD5
. . .
Constructors Summary
private SnmpProperties()

    
Methods Summary
public static voidload(java.lang.String file)
Reads the Java DMK property list from a file and adds the read properties as system properties.

        Properties props = new Properties();
        InputStream is = new FileInputStream(file);
        props.load(is);
        is.close();
	for (final Enumeration e = props.keys(); e.hasMoreElements() ; ) {
	    final String key = (String) e.nextElement();
	    System.setProperty(key,props.getProperty(key));
	}