接口 ApplicationDeployer
-
- 所有超级接口:
Deployer<ApplicationModel>
public interface ApplicationDeployer extends Deployer<ApplicationModel>
initialize and start application instance
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidcheckState(ModuleModel moduleModel, DeployState moduleState)check all module state and update application stateApplicationModelgetApplicationModel()ReferenceCachegetReferenceCache()FuturegetStartFuture()voidinitialize()Initialize the componentbooleanisBackground()Whether start in background, do not await finishbooleanisInitialized()Indicates that the Application is initialized or not.voidnotifyModuleChanged(ModuleModel moduleModel, DeployState state)module state changed callbacksvoidpostDestroy()Post-processing after destroy modelvoidpreDestroy()Pre-processing before destroy modelvoidprepareApplicationInstance()Register application instance and start internal servicesvoidprepareInternalModule()Register application instance and start internal servicesFuturestart()Starts the component.voidstop()Stops the component.-
从接口继承的方法 org.apache.dubbo.common.deploy.Deployer
addDeployListener, getError, getState, isFailed, isPending, isRunning, isStarted, isStarting, isStopped, isStopping, removeDeployListener
-
-
-
-
方法详细资料
-
initialize
void initialize() throws IllegalStateExceptionInitialize the component- 指定者:
initialize在接口中Deployer<ApplicationModel>- 抛出:
IllegalStateException
-
start
Future start() throws IllegalStateException
Starts the component.- 指定者:
start在接口中Deployer<ApplicationModel>- 返回:
- 抛出:
IllegalStateException
-
stop
void stop() throws IllegalStateException
Stops the component.- 指定者:
stop在接口中Deployer<ApplicationModel>- 抛出:
IllegalStateException
-
getStartFuture
Future getStartFuture()
-
prepareApplicationInstance
void prepareApplicationInstance()
Register application instance and start internal services
-
prepareInternalModule
void prepareInternalModule()
Register application instance and start internal services
-
preDestroy
void preDestroy()
Pre-processing before destroy model
-
postDestroy
void postDestroy()
Post-processing after destroy model
-
isInitialized
boolean isInitialized()
Indicates that the Application is initialized or not.
-
getApplicationModel
ApplicationModel getApplicationModel()
-
getReferenceCache
ReferenceCache getReferenceCache()
-
isBackground
boolean isBackground()
Whether start in background, do not await finish
-
checkState
void checkState(ModuleModel moduleModel, DeployState moduleState)
check all module state and update application state
-
notifyModuleChanged
void notifyModuleChanged(ModuleModel moduleModel, DeployState state)
module state changed callbacks
-
-