@EnableBinding public class AggregateApplicationBuilder extends Object implements AggregateApplication, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.SmartInitializingSingleton
AggregateApplication
.Modifier and Type | Class and Description |
---|---|
class |
AggregateApplicationBuilder.AppConfigurer<T extends AggregateApplicationBuilder.AppConfigurer<T>> |
static class |
AggregateApplicationBuilder.ParentActuatorConfiguration |
static class |
AggregateApplicationBuilder.ParentConfiguration |
class |
AggregateApplicationBuilder.ProcessorConfigurer |
class |
AggregateApplicationBuilder.SinkConfigurer |
class |
AggregateApplicationBuilder.SourceConfigurer |
Constructor and Description |
---|
AggregateApplicationBuilder(Object[] sources,
String[] args) |
AggregateApplicationBuilder(Object source,
String... args) |
AggregateApplicationBuilder(String... args) |
Modifier and Type | Method and Description |
---|---|
void |
afterSingletonsInstantiated() |
AggregateApplicationBuilder.SourceConfigurer |
from(Class<?> app) |
<T> T |
getBinding(Class<T> bindableType,
String namespace)
Retrieves the bindable proxy instance (e.g.
|
AggregateApplicationBuilder |
headless(boolean headless)
Configures the headless attribute of the build application.
|
AggregateApplicationBuilder |
parent(Object[] sources,
String[] args) |
AggregateApplicationBuilder |
parent(Object source,
String... args) |
org.springframework.context.ConfigurableApplicationContext |
run(String... parentArgs) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
AggregateApplicationBuilder |
web(boolean webEnvironment)
Flag to explicitly request a web or non-web environment.
|
public AggregateApplicationBuilder(String... args)
public AggregateApplicationBuilder parent(Object source, String... args)
public AggregateApplicationBuilder parent(Object[] sources, String[] args)
public AggregateApplicationBuilder web(boolean webEnvironment)
webEnvironment
- true if the application has a web environmentSpringApplicationBuilder.web(boolean)
public AggregateApplicationBuilder headless(boolean headless)
headless
- true if the application is headlessSpringApplicationBuilder.headless(boolean)
public void afterSingletonsInstantiated()
afterSingletonsInstantiated
in interface org.springframework.beans.factory.SmartInitializingSingleton
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public <T> T getBinding(Class<T> bindableType, String namespace)
AggregateApplication
Processor
,
Source
,
Sink
or custom interface) from
the given namespace.getBinding
in interface AggregateApplication
T
- parameterized bindable typebindableType
- the bindable typenamespace
- the namespacepublic AggregateApplicationBuilder.SourceConfigurer from(Class<?> app)
public org.springframework.context.ConfigurableApplicationContext run(String... parentArgs)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.