public class GlobalConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
allowSplitPackages
Once a type is found to be reloadable or not (based on whether it is accessible as a .class file on the disk
rather than packaged in a jar), that decision is remembered and all types from the same package are treated in
the same way without repeating the costly lookup.
|
static boolean |
assertsMode
asserts mode will trigger extra checking (performance impact but confirms correctness)
|
static java.lang.String |
cacheDir
The base directory in which to create any cache (.slcache folder).
|
static boolean |
callsideRewritingOn |
static boolean |
catchersOn |
static java.util.List<java.lang.String> |
classesToDump
List of slashed classnames for types we should 'dump' during processing (for debugging purposes).
|
static boolean |
cleanCache
Allows a cache to be cleaned up as the agent starts (effectively starting with a new cache, if 'caching' is true)
|
static boolean |
debugplugins |
static boolean |
directlyDefineTypes |
static java.lang.String |
dumpFolder
When classes are dumped by Utils.dump() this specifies where.
|
static int |
enumLimit |
static boolean |
explainMode
Can be turned on to enable users to determine the decision process around why something is not reloadable.
|
static boolean |
fieldRewriting
Are references to fields being modified - covering both the GETS/SETS and the reflective references.
|
static boolean |
fileSystemMonitoring
If active, SpringLoaded will be trying to watch for types changing on the file system once they have been made
reloadable.
|
static java.util.Properties |
globalConfigurationProperties
Global configuration properties set based on the value of system property 'springloaded'.
|
static boolean |
interceptReflection |
static boolean |
InTestMode |
static boolean |
investigateSystemClassReflection |
static boolean |
isCaching
Determine whether on disk caching will be used.
|
static boolean |
isJava18orHigher |
static boolean |
isProfiling
Global control for checking assertions
|
static boolean |
isRuntimeLogging
Global control for runtime logging
|
static java.lang.String[] |
jarsToWatch
Holds a list of fully qualified paths to jars that should be 'watched' for changes.
|
static boolean |
logging
Global control for loadtime logging
|
static boolean |
logNonInterceptedReflectiveCalls |
static int |
maxClassDefinitions |
static java.util.List<java.lang.String> |
pluginClassnameList
List of dotted classnames representing classnames of plugins that should be loaded.
|
static java.lang.String |
profile
A well known profile (e.g.
|
static boolean |
reloadMessages |
static boolean |
rewriteAllSystemClasses |
static boolean |
verboseMode
verbose mode can trigger extra messages.
|
static boolean |
verifyReloads
When a reload is attempted, if this is true it will be checked to confirm it is allowed and does not violate the
supported reloadable changes that can be made to a type.
|
Constructor and Description |
---|
GlobalConfiguration() |
public static final boolean fieldRewriting
public static boolean catchersOn
public static boolean fileSystemMonitoring
public static boolean logging
public static boolean verboseMode
public static boolean assertsMode
public static boolean explainMode
public static boolean allowSplitPackages
public static boolean isRuntimeLogging
public static boolean callsideRewritingOn
public static boolean cleanCache
public static boolean isCaching
public static boolean investigateSystemClassReflection
public static boolean rewriteAllSystemClasses
public static java.lang.String profile
public static java.lang.String cacheDir
public static final boolean logNonInterceptedReflectiveCalls
public static java.lang.String[] jarsToWatch
public static final boolean isProfiling
public static boolean directlyDefineTypes
public static final boolean interceptReflection
public static int enumLimit
public static boolean reloadMessages
public static boolean verifyReloads
public static java.lang.String dumpFolder
public static java.util.Properties globalConfigurationProperties
public static java.util.List<java.lang.String> classesToDump
public static int maxClassDefinitions
public static java.util.List<java.lang.String> pluginClassnameList
public static final boolean debugplugins
public static final boolean isJava18orHigher
public static boolean InTestMode