public interface ApplicationDeployer extends Deployer<ApplicationModel>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkState(ModuleModel moduleModel,
DeployState moduleState)
check all module state and update application state
|
ApplicationModel |
getApplicationModel() |
ReferenceCache |
getReferenceCache() |
Future |
getStartFuture() |
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
|
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 在接口中 Deployer<ApplicationModel>IllegalStateExceptionFuture start() throws IllegalStateException
start 在接口中 Deployer<ApplicationModel>IllegalStateExceptionvoid stop() throws IllegalStateException
stop 在接口中 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)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.