public interface ApplicationDeployer extends Deployer<ApplicationModel>
| Modifier and Type | Method and Description |
|---|---|
void |
checkState(ModuleModel moduleModel,
DeployState moduleState)
check all module state and update application state
|
void |
decreaseServiceRefreshCount()
Decrease the count of service update threads
|
ApplicationModel |
getApplicationModel() |
ReferenceCache |
getReferenceCache() |
Future |
getStartFuture() |
void |
increaseServiceRefreshCount()
Increase the count of service update threads.
|
void |
initialize()
Initialize the component
|
boolean |
isBackground()
Whether start in background, do not await finish
|
boolean |
isInitialized()
Indicates that the Application is initialized or not.
|
void |
notifyModuleChanged(ModuleModel moduleModel,
DeployState state)
module state changed callbacks
|
void |
postDestroy()
Post-processing after destroy model
|
void |
preDestroy()
Pre-processing before destroy model
|
void |
prepareApplicationInstance()
Register application instance and start internal services
|
void |
prepareInternalModule()
Register application instance and start internal services
|
void |
refreshServiceInstance()
refresh service instance
|
Future |
start()
Starts the component.
|
void |
stop()
Stops the component.
|
addDeployListener, getError, getState, isFailed, isPending, isRunning, isStarted, isStarting, isStopped, isStopping, removeDeployListenervoid initialize()
throws IllegalStateException
initialize in interface Deployer<ApplicationModel>IllegalStateExceptionFuture start() throws IllegalStateException
start in interface Deployer<ApplicationModel>IllegalStateExceptionvoid stop() throws IllegalStateException
stop in interface Deployer<ApplicationModel>IllegalStateExceptionFuture getStartFuture()
void prepareApplicationInstance()
void prepareInternalModule()
void preDestroy()
void postDestroy()
boolean isInitialized()
ApplicationModel getApplicationModel()
ReferenceCache getReferenceCache()
boolean isBackground()
void checkState(ModuleModel moduleModel, DeployState moduleState)
void notifyModuleChanged(ModuleModel moduleModel, DeployState state)
void refreshServiceInstance()
void increaseServiceRefreshCount()
decreaseServiceRefreshCount() after update finishedvoid decreaseServiceRefreshCount()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.