Interface MidpointConfiguration
- 
 public interface MidpointConfiguration
- 
- 
Field Summary
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.commons.configuration2.ConfigurationgetConfiguration()org.apache.commons.configuration2.ConfigurationgetConfiguration(String component)Get configuration for symbolic name of the component from configuration subsystem.StringgetMidpointHome()@NotNull ProfilingModegetProfilingMode()@NotNull SystemConfigurationSectiongetSystemSection()booleanisProfilingEnabled()booleanisSafeMode()booleankeyMatches(String key, String... regexPatterns)Returns true if the configuration key matches any of provided regular expression patterns.
 
- 
- 
- 
Field Detail- 
MIDPOINT_SILENT_PROPERTYstatic final String MIDPOINT_SILENT_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_HOME_PROPERTYstatic final String MIDPOINT_HOME_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_SCHRODINGER_PROPERTYstatic final String MIDPOINT_SCHRODINGER_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_LOGGING_ALT_ENABLED_PROPERTYstatic final String MIDPOINT_LOGGING_ALT_ENABLED_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_LOGGING_ALT_FILENAME_PROPERTYstatic final String MIDPOINT_LOGGING_ALT_FILENAME_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_LOGGING_ALT_PREFIX_PROPERTYstatic final String MIDPOINT_LOGGING_ALT_PREFIX_PROPERTY - See Also:
- Constant Field Values
 
 - 
USER_HOME_PROPERTYstatic final String USER_HOME_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_CONFIG_FILE_PROPERTYstatic final String MIDPOINT_CONFIG_FILE_PROPERTY Property for config file name override; if empty, default value is used.- See Also:
- Constant Field Values
 
 - 
MIDPOINT_NODE_ID_PROPERTYstatic final String MIDPOINT_NODE_ID_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_NODE_ID_SOURCE_PROPERTYstatic final String MIDPOINT_NODE_ID_SOURCE_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_URL_PROPERTYstatic final String MIDPOINT_URL_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_HOST_NAME_PROPERTYstatic final String MIDPOINT_HOST_NAME_PROPERTY - See Also:
- Constant Field Values
 
 - 
MIDPOINT_HTTP_PORT_PROPERTYstatic final String MIDPOINT_HTTP_PORT_PROPERTY - See Also:
- Constant Field Values
 
 - 
AUDIT_CONFIGURATIONstatic final String AUDIT_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
SYSTEM_CONFIGURATIONstatic final String SYSTEM_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
GLOBAL_CONFIGURATIONstatic final String GLOBAL_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
PROTECTOR_CONFIGURATIONstatic final String PROTECTOR_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
REPOSITORY_CONFIGURATIONstatic final String REPOSITORY_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
ROOT_MIDPOINT_CONFIGURATIONstatic final String ROOT_MIDPOINT_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
CONSTANTS_CONFIGURATIONstatic final String CONSTANTS_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
ICF_CONFIGURATIONstatic final String ICF_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
TASK_MANAGER_CONFIGURATIONstatic final String TASK_MANAGER_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
DOT_CONFIGURATIONstatic final String DOT_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
WEB_APP_CONFIGURATIONstatic final String WEB_APP_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
WORKFLOW_CONFIGURATIONstatic final String WORKFLOW_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
INTERNALS_CONFIGURATIONstatic final String INTERNALS_CONFIGURATION - See Also:
- Constant Field Values
 
 - 
MIDPOINT_SYSTEM_PROPERTIES_BASE_PATHstatic final String MIDPOINT_SYSTEM_PROPERTIES_BASE_PATH Reference to midpoint-system.properties generated in system-init component. It is generated during the build. This file contains various system properties such midPoint version, build ID, build timestamp and so on. This is a base path (without extension).- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getMidpointHomeString getMidpointHome() - Returns:
- midPoint home directory. Currently, it is the same value as in "midpoint.home" system property.
 
 - 
getConfigurationorg.apache.commons.configuration2.Configuration getConfiguration(String component) Get configuration for symbolic name of the component from configuration subsystem.- Parameters:
- component- name of the component Samples of names:- repository -> midpoint.repository
 - provisioning -> midpoint.provisioning
 
- Returns:
- Configuration object
 Sample how to get config value: config.getInt("port", 1234);
 
 - 
getConfigurationorg.apache.commons.configuration2.Configuration getConfiguration() - Returns:
- Global configuration.
 
 - 
isSafeModeboolean isSafeMode() - Returns:
- True if we are running in safe mode (the exact meaning gradually evolves; but the overall idea is to make midPoint barely usable to be able to fix the worst problems preventing it from running normally).
 
 - 
isProfilingEnabledboolean isProfilingEnabled() - Returns:
- True if the profiling interceptor should be loaded.
 
 - 
getProfilingMode@NotNull @NotNull ProfilingMode getProfilingMode() - Returns:
- Current profiling mode e.g. on, off, dynamic.
 
 - 
getSystemSection@NotNull @NotNull SystemConfigurationSection getSystemSection() - Returns:
- "midpoint.system" section of the system configuration
 
 - 
keyMatchesboolean keyMatches(String key, String... regexPatterns) Returns true if the configuration key matches any of provided regular expression patterns. Provided pattern must match the whole value, seeString.matches(java.lang.String). Some examples:- x\.y.*- value starts with- x.y(dot must be escaped, in Java String syntax double backslash must be used!)
- (?i)sql- value is exactly SQL, ignoring casing
 - Parameters:
- key- key from configuration, starting at- configurationelement (root), can be complex, e.g.- midpoint.repository.type.
- regexPatterns- regular expression patterns that must match the whole value. It is possible to match- nulltoo, if no regex pattern is used, or if the first pattern itself is null.
 
 
- 
 
-