sun.module.config
Class ModuleSystemConfig
java.lang.Object
sun.module.config.ModuleSystemConfig
public final class ModuleSystemConfig
- extends Object
This class centralizes all module system properties and common module
system configuration methods.
- Since:
- 1.7
- Version:
- @(#)ModuleSystemConfig.java 1.9 07/06/25
- Author:
- Stanley M. Ho
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VISIBILITY_POLICY_CLASS
public static final String VISIBILITY_POLICY_CLASS
- See Also:
- Constant Field Values
VISIBILITY_POLICY_URL_PREFIX
public static final String VISIBILITY_POLICY_URL_PREFIX
- See Also:
- Constant Field Values
VISIBILITY_POLICY_ALLOW_SYSTEMPROPERTY
public static final String VISIBILITY_POLICY_ALLOW_SYSTEMPROPERTY
- See Also:
- Constant Field Values
MODULE_SYSTEM_OVERRIDE_PROPERTIESFILE
public static final String MODULE_SYSTEM_OVERRIDE_PROPERTIESFILE
- See Also:
- Constant Field Values
setProperty
public static void setProperty(String key,
String datum)
- Sets a module system property value.
- Parameters:
key
- the name of the property to be set.datum
- the value of the property to be set.
- Throws:
NullPointerException
- if key or datum is null
getVisibilityPolicyDefaultClassName
public static String getVisibilityPolicyDefaultClassName()
- Returns the default class name for the visibility policy.