public class Deploy extends java.lang.Object
These properties may be optionally set as system properties during deployment using the -DPropertyName=propertyValue JVM option.
These properties may be read by the application at runtime using System.getProperty().
Setting these properties programmatically at runtime is not supported and will result in undefined behavior.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEBUG_CLASSES
"com.kabira.platform.debugClasses" -
When set to true causes the class loader
to create a class file in the node directory for each class modified
at load time.
|
static java.lang.String |
IGNORED_PACKAGES
"com.kabira.platform.ignoredPackages" -
An optional string property that identifies classes that
do not contain Managed Objects, or references to Managed Objects.
|
static java.lang.String |
JMX_ENABLE
"com.kabira.platform.management.jmxEnable" -
Control whether JMX is initialized at JVM startup.
|
static java.lang.String |
LOAD_COMPONENTS
"com.kabira.platform.component.manager" -
Control whether components are loaded at JVM startup.
|
static java.lang.String |
NO_MANAGED_OBJECT_REFLECTION
"com.kabira.platform.noManagedObjectReflection" -
An optional string property that identifies non-managed
classes that do not access any Managed Objects via reflection.
|
static java.lang.String |
SYSTEM_PACKAGES
"com.kabira.platform.systemPackages" -
An optional string property which lists packages to be loaded by the
parent of the class loader.
|
Constructor and Description |
---|
Deploy() |
public static final java.lang.String LOAD_COMPONENTS
A boolean property. A value of true loads all configured components. A value of false disables the loading of components at startup. The default value is true.
public static final java.lang.String DEBUG_CLASSES
A boolean property. The default value is false.
public static final java.lang.String IGNORED_PACKAGES
This property is a list of package names (or package prefixes), separated by the system path separator character (path.separator). The class loader will skip the byte code rewriting required to support Managed Objects, and will not attempt to fetch from a remote deployment tool, all classes that match an ignored package prefix. None of these classes can contain Managed Object definitions or references to Managed Objects.
public static final java.lang.String JMX_ENABLE
A boolean property. A value of true initializes JMX. A value of false disables the initialization of JMX at startup. The default value is true.
public static final java.lang.String NO_MANAGED_OBJECT_REFLECTION
This property is a list of class names, or package prefixes, separated by the system path separator character (path.separator). The class loader will skip the byte code rewriting required to access Managed Objects via reflection for all classes in this list.
public static final java.lang.String SYSTEM_PACKAGES
A list of package names, separated by the system path separator character (normally ":"). These packages are defined as system packages. Classes contained in these packages will always be loaded by the parent of the class loader.
public Deploy()