|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.config.Configurator com.gridsystems.config.modules.jvm.JVMConfigurator
public final class JVMConfigurator
Java Virtual Machine Configurator implementation.
Field Summary |
---|
Fields inherited from class com.gridsystems.config.Configurator |
---|
MODE_CONSOLE, MODE_SILENT, MODE_SWING |
Method Summary | |
---|---|
void |
addFlags(java.util.Collection<java.lang.String> flags)
Adds all flags in the specified collection to the flags set. |
protected ConfiguratorModel |
createModel()
Creates a new model instance. |
boolean |
getBoolProperty(java.lang.String name,
boolean def)
Gets a system property value as a boolean. |
protected ConsoleConfiguratorView |
getConsoleView()
Gets a view for Configurator.MODE_CONSOLE . |
static JVMConfigurator |
getInstance()
Singleton pattern implementation. |
int |
getIntProperty(java.lang.String name,
int def)
Gets a system property value as an int. |
java.lang.String |
getProperty(java.lang.String name,
java.lang.String def)
Gets a system property value. |
protected SwingConfiguratorView |
getSwingView()
Gets a view for Configurator.MODE_SWING . |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets a system property value. |
Methods inherited from class com.gridsystems.config.Configurator |
---|
apply, discard, getBundle, getContextDir, getModel, getName, getPath, getUsername, getView, getViewMode, hasView, isClosing, setClosing, setErrorListener, setModel, setUsername, setViewMode, updateError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JVMConfigurator getInstance()
public void setProperty(java.lang.String name, java.lang.String value)
name
- The system property namevalue
- The system property valuepublic java.lang.String getProperty(java.lang.String name, java.lang.String def)
name
- The system property namedef
- The system property default value
public int getIntProperty(java.lang.String name, int def)
name
- The system property namedef
- The system property default value
public boolean getBoolProperty(java.lang.String name, boolean def)
name
- The system property namedef
- The system property default value
public void addFlags(java.util.Collection<java.lang.String> flags)
flags
- The collection of flags to addprotected SwingConfiguratorView getSwingView()
Configurator.MODE_SWING
.
getSwingView
in class Configurator
protected ConsoleConfiguratorView getConsoleView()
Configurator.MODE_CONSOLE
.
getConsoleView
in class Configurator
protected ConfiguratorModel createModel()
createModel
in class Configurator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |