public class EmbeddedFabricSpringApplication extends Object implements org.springframework.context.ApplicationContextAware
Bean that can be added to the existing Spring application context in order to start embedded Fabric Spring Boot
context from within it. The embedding context (the one EmbeddedFabricSpringApplication
has been added to)
will become a parent context for the embedded Fabric Spring Boot context.
Creating embedded Fabric application is as simple as that:
Constructor and Description |
---|
EmbeddedFabricSpringApplication() |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.ConfigurableApplicationContext |
context()
Embedded Fabric Spring Boot application context.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext parent) |
public void setApplicationContext(org.springframework.context.ApplicationContext parent) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public org.springframework.context.ConfigurableApplicationContext context()
Copyright © 2011–2014 Red Hat. All rights reserved.