Package com.foreach.across.config
Class AcrossConfiguration
java.lang.Object
com.foreach.across.config.AcrossConfiguration
Utility loader for retrieving data from META-INF/across.configuration file.
- Since:
- 3.0.0
- Author:
- Arne Vandamme
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Location to look for configuration file (in multiple jars). -
Method Summary
Modifier and TypeMethodDescriptionstatic AcrossConfiguration
get
(ClassLoader classLoader) Retrieve the AcrossConfiguration for the specified class loader.Fetch the first group with that name.static void
remove
(ClassLoader classLoader) Remove the AcrossConfiguration attached to the class loader.
-
Field Details
-
CONFIGURATION_RESOURCE_LOCATION
Location to look for configuration file (in multiple jars).- See Also:
-
-
Method Details
-
getGroup
Fetch the first group with that name.- Parameters:
groupName
- name of the group- Returns:
- group or
null
if none
-
getExposeRules
-
getAutoConfigurationClasses
- Returns:
- unique set of auto-configuration class rules
-
getIllegalConfigurations
- Returns:
- flat set of illegal configuration
-
get
Retrieve the AcrossConfiguration for the specified class loader. Will parse all configuration files that can be found in the class loader.- Parameters:
classLoader
- instance- Returns:
- configuration instance, never
null
-
remove
Remove the AcrossConfiguration attached to the class loader.- Parameters:
classLoader
- instance
-
getGroups
-