public class IncomingAppChannelAdapterLifecycleBean extends Object implements org.springframework.context.SmartLifecycle
Deploys application during the startup and manages the channels used to receive apps from outside edoras one.
| Constructor and Description |
|---|
IncomingAppChannelAdapterLifecycleBean(IncomingAppService incomingAppService,
List<AppDeploymentConfiguration> appDeploymentConfigurations) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setManagedChannels(List<org.springframework.context.Lifecycle> channels) |
void |
start()
Start the receiver channels.
|
void |
stop()
Stop the receiver channels.
|
void |
stop(Runnable callback) |
public IncomingAppChannelAdapterLifecycleBean(IncomingAppService incomingAppService, List<AppDeploymentConfiguration> appDeploymentConfigurations)
public boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void start()
Start the receiver channels.
start in interface org.springframework.context.Lifecyclepublic void stop()
Stop the receiver channels.
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic void stop(Runnable callback)
stop in interface org.springframework.context.SmartLifecyclepublic int getPhase()
getPhase in interface org.springframework.context.Phasedpublic void setManagedChannels(List<org.springframework.context.Lifecycle> channels)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.