public abstract class SmaConfig extends RootConfig
This class contains configuration information for classes in the SMA
package that do not use configuration information from the using classes.
The user sets/gets configuration information for the SMA package using
PACKAGE_NAME as the package key for the configuration setter/getter
methods in RootConfig.
When a class belonging to the SMA package is instantiated and it is not
supplied with a configuration object by its creator, it fetches the
configuration information to use from this class that, in turn, fetches
it from RootConfig.
RootConfig.ObjectConfig| Modifier and Type | Field and Description |
|---|---|
static String |
PACKAGE_NAME
The name of this package to use with config setter/getter methods.
|
| Constructor and Description |
|---|
SmaConfig() |
| Modifier and Type | Method and Description |
|---|---|
static void |
flushConfig()
Flush the cached package configuration object.
|
static RootConfig.ObjectConfig |
getConfig()
Get the package configuration object.
|
flushObjectConfig, getChecked, getObjectConfig, getThreaded, setChecked, setThreadedpublic static final String PACKAGE_NAME
public static RootConfig.ObjectConfig getConfig()
public static void flushConfig()
This method discards any cached package configuration information.
Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.