[bs-52] Allow war files to run in place

Update AbstractEmbeddedServletContainerFactory to detect the document
root from a classically packaged war file.

[#48386505] [bs-52] Support for running "traditional" webapps in place
This commit is contained in:
Phillip Webb
2013-06-02 12:24:51 -07:00
parent e98368e3e6
commit a4aef0e0e9
4 changed files with 52 additions and 8 deletions

View File

@@ -57,6 +57,7 @@ public class ManagementAutoConfiguration implements ApplicationContextAware {
.getName() + ".MEMO";
private ApplicationContext parent;
private ConfigurableApplicationContext context;
@Autowired

View File

@@ -34,7 +34,6 @@ import org.springframework.core.type.AnnotationMetadata;
* (the application context with the management endpoints).
*
* @author Dave Syer
*
* @see ConditionalOnManagementContext
*/
public class OnManagementContextCondition implements Condition {