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() |
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.