Package org.apache.dubbo.common.deploy
Interface ModuleDeployer
- All Superinterfaces:
Deployer<ModuleModel>
Export/refer services of module
-
Method Summary
Methods inherited from interface org.apache.dubbo.common.deploy.Deployer
addDeployListener, getError, getState, isCompletion, isFailed, isPending, isRunning, isStarted, isStarting, isStopped, isStopping, removeDeployListener
-
Method Details
-
initialize
Description copied from interface:DeployerInitialize the component- Specified by:
initializein interfaceDeployer<ModuleModel>- Throws:
IllegalStateException
-
start
Description copied from interface:DeployerStarts the component.- Specified by:
startin interfaceDeployer<ModuleModel>- Returns:
- Throws:
IllegalStateException
-
getStartFuture
Future getStartFuture() -
stop
Description copied from interface:DeployerStops the component.- Specified by:
stopin interfaceDeployer<ModuleModel>- Throws:
IllegalStateException
-
preDestroy
- Throws:
IllegalStateException
-
postDestroy
- Throws:
IllegalStateException
-
isInitialized
boolean isInitialized() -
getReferenceCache
ReferenceCache getReferenceCache() -
registerServiceInstance
void registerServiceInstance() -
prepare
void prepare() -
setPending
void setPending() -
isBackground
boolean isBackground()Whether start in background, do not await finish -
hasRegistryInteraction
boolean hasRegistryInteraction() -
getApplicationDeployer
ApplicationDeployer getApplicationDeployer()
-