@Deprecated public class EnvironmentLookup extends Object implements Lookup
A specialized lookup implementation that allows access to environment variables.
This implementation relies on System.getenv()
to resolve environment variables. It can be used for
referencing environment variables in configuration files in an easy way, for instance:
java.home = ${env:JAVA_HOME}
EnvironmentLookup
is one of the standard lookups that is registered per default for each configuration.
Constructor and Description |
---|
EnvironmentLookup()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
lookup(String key)
Deprecated.
Performs a lookup for the specified variable.
|
public EnvironmentLookup()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.