[bs-17], [bs-146] Add some ApplicationContextInitializers

* One for Cloud Foundry and one for the application context ID
* If app runs in Cloud Foundry vcap.application.* and vcap.services.*
will be populated in the Environment
* The ApplicationContext ID is set to something supposedly unique
(e.g. name:index in a Cloud Foundry app)

[#50968415] [#48153639]
This commit is contained in:
Dave Syer
2013-06-04 16:18:12 +01:00
parent e0d7fc2240
commit e60efc7e55
15 changed files with 813 additions and 4 deletions

View File

@@ -39,6 +39,11 @@
<artifactId>snakeyaml</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>