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.SmartLifecycle
public void start()
Start the receiver channels.
start
in interface org.springframework.context.Lifecycle
public void stop()
Stop the receiver channels.
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public void stop(Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
public void setManagedChannels(List<org.springframework.context.Lifecycle> channels)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.