Class EnvironmentPropertySource
java.lang.Object
org.apache.tomcat.util.digester.EnvironmentPropertySource
- All Implemented Interfaces:
- IntrospectionUtils.PropertySource
A 
IntrospectionUtils.PropertySource that uses environment variables to resolve
 expressions.
 Usage example:
Configure the certificate with environment variables.
   
     <SSLHostConfig>
           <Certificate certificateKeyFile="${CERTIFICATE_KEY_FILE}"
                        certificateFile="${CERTIFICATE_FILE}"
                        certificateChainFile="${CERTIFICATE_CHAIN_FILE}"
                        type="RSA" />
     </SSLHostConfig> 
 
 How to configure:
 
 
   echo "org.apache.tomcat.util.digester.PROPERTY_SOURCE=org.apache.tomcat.util.digester.EnvironmentPropertySource" >> conf/catalina.properties
 
 or add this to CATALINA_OPTS
 
 
   -Dorg.apache.tomcat.util.digester.PROPERTY_SOURCE=org.apache.tomcat.util.digester.EnvironmentPropertySource
 
 NOTE: When configured the PropertySource for resolving expressions from system properties is still active.- See Also:
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
EnvironmentPropertySourcepublic EnvironmentPropertySource()
 
- 
- 
Method Details- 
getProperty- Specified by:
- getPropertyin interface- IntrospectionUtils.PropertySource
 
 
-