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 {@link 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:
@Bean EmbeddedFabricSpringApplication fabricSpringApplication() { return new EmbeddedFabricSpringApplication(); }For XML configuration the snippet above looks as follows:
<bean class="io.fabric8.process.spring.boot.container.EmbeddedFabricSpringApplication" />
{@link EmbeddedFabricSpringApplication} automatically detects its patent Spring {@code ApplicationContext} and usesit when starting up new embedded Fabric application.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|