Package | Description |
---|---|
org.forgerock.config.resolvers |
This package contains the common config property resolvers.
|
org.forgerock.opendj.config.server |
Server-side administration interface.
|
org.forgerock.opendj.server.embedded |
Provides support for an embedded directory server.
|
org.opends.server.types |
Contains implementations for a number of Directory Server data types.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainedPropertyResolver
Contains a chain of
PropertyResolver s that should be used to get a token replacement property. |
class |
EnvironmentVariableResolver
A property accessor that allows access to environment variables.
|
class |
FlatFileResolver
A
PropertyResolver in which each property is stored in its own file in some directory. |
class |
ProductPathResolver
A property accessor for product paths.
|
class |
SystemPropertyResolver
A SystemPropertyResolver resolves a config token using system properties.
|
Modifier and Type | Method and Description |
---|---|
static PropertyResolver |
PropertyResolvers.bootstrapPropertyResolver(String productKey,
PropertyResolver productPathResolver)
Get the standard bootstrap property resolver, which is defined as a resolver that checks in turn:
The product paths resolver
Environment variables
System properties
Any external sources defined in the <productKey>.envconfig.dirs system property, or (if
it does not exist) the <PRODUCTKEY>_ENVCONFIG_DIRS environment variable, which is treated as a
comma-separated list of source directories, where the files in a directory are resolved in a
non-deterministic order, and are checked for duplicate keys.
|
static PropertyResolver |
PropertyResolvers.defaultingPropertyResolver()
Returns an empty resolver that always return the default value.
|
static PropertyResolver |
PropertyResolvers.environmentVariablePropertyResolver()
Construct a new
EnvironmentVariableResolver . |
static PropertyResolver |
PropertyResolvers.jsonResolver(File jsonFile)
Construct a new
JsonValueResolver using a given file. |
static PropertyResolver |
PropertyResolvers.jsonResolver(JsonValue json)
Construct a new
JsonValueResolver using a given a JsonValue . |
static PropertyResolver |
PropertyResolvers.jsonResolver(Path path)
Construct a new
JsonValueResolver using a file at the given path. |
static PropertyResolver |
PropertyResolvers.jsonResolver(String filename)
Construct a new
JsonValueResolver using the given filename. |
static PropertyResolver |
PropertyResolvers.jsonResolver(String name,
JsonValue json)
Construct a new
JsonValueResolver using a given a JsonValue . |
static PropertyResolver |
PropertyResolvers.pathPropertyResolver(Map<String,Path> directories)
Constructs a path resolver to expose paths and associated URLs.
|
static PropertyResolver |
PropertyResolvers.prefixed(String prefix,
PropertyResolver delegate)
Constructs a prefixed
PropertyResolver . |
static PropertyResolver |
PropertyResolvers.productPathPropertyResolver(String productKey,
Path instanceDirectory)
Constructs a path resolver to expose a product instance directory.
|
static PropertyResolver |
PropertyResolvers.propertiesResolver(File propertiesFile)
Creates a
PropertiesResolver given a file object. |
static PropertyResolver |
PropertyResolvers.propertiesResolver(Path filename)
Creates a
PropertiesResolver given a file location. |
static PropertyResolver |
PropertyResolvers.propertiesResolver(Properties properties)
Creates a
PropertiesResolver given a Properties object. |
static PropertyResolver |
PropertyResolvers.propertiesResolver(String filename)
Creates a
PropertiesResolver given a file location. |
static PropertyResolver |
PropertyResolvers.propertiesResolver(String name,
Properties properties)
Creates a
PropertiesResolver given a Properties object. |
static PropertyResolver |
PropertyResolvers.singletonPropertyResolver(String key,
String value)
Returns a resolver that knows only to resolve the given key.
|
static PropertyResolver |
PropertyResolvers.systemPropertyResolver()
Construct a new
SystemPropertyResolver . |
Modifier and Type | Method and Description |
---|---|
static PropertyResolver |
PropertyResolvers.bootstrapPropertyResolver(String productKey,
PropertyResolver productPathResolver)
Get the standard bootstrap property resolver, which is defined as a resolver that checks in turn:
The product paths resolver
Environment variables
System properties
Any external sources defined in the <productKey>.envconfig.dirs system property, or (if
it does not exist) the <PRODUCTKEY>_ENVCONFIG_DIRS environment variable, which is treated as a
comma-separated list of source directories, where the files in a directory are resolved in a
non-deterministic order, and are checked for duplicate keys.
|
static ChainedPropertyResolver |
ChainedPropertyResolver.of(PropertyResolver... resolvers)
Constructs a
ChainedPropertyResolver given a a list of PropertyResolver s. |
static PropertyResolver |
PropertyResolvers.prefixed(String prefix,
PropertyResolver delegate)
Constructs a prefixed
PropertyResolver . |
Constructor and Description |
---|
SubstitutionService(PropertyResolver resolver)
Creates a new substitution service that will resolve variables using the given
resolver . |
Constructor and Description |
---|
ChainedPropertyResolver(List<? extends PropertyResolver> resolvers)
Creates a chained property resolver given a list of
PropertyResolver s. |
Modifier and Type | Class and Description |
---|---|
class |
FileContentResolver
Property resolver that considers only the property keys that begins with the "file:" string, and
then interprets the remaining part of the key as a relative or absolute file path that must be read
to return a value.
|
Modifier and Type | Method and Description |
---|---|
PropertyResolver |
ConfigParameters.getConfigPropertyResolver()
Returns the currently configured
PropertyResolver or null if none has been defined. |
Modifier and Type | Method and Description |
---|---|
ConfigParameters |
ConfigParameters.configResolver(PropertyResolver resolver)
Sets the
PropertyResolver to use to resolve configuration properties. |
Modifier and Type | Method and Description |
---|---|
PropertyResolver |
DirectoryEnvironmentConfig.getPropertyResolver()
Returns the
PropertyResolver to be used by Directory Server when resolving configuration
expressions to values. |
PropertyResolver |
DirectoryEnvironmentConfig.setConfigResolver(PropertyResolver resolver)
Specifies the
PropertyResolver to resolve configuration expressions. |
Modifier and Type | Method and Description |
---|---|
PropertyResolver |
DirectoryEnvironmentConfig.setConfigResolver(PropertyResolver resolver)
Specifies the
PropertyResolver to resolve configuration expressions. |
Copyright 2010-2018 ForgeRock AS.