Interface ApplicationDeployer

All Superinterfaces:
Deployer<ApplicationModel>

public interface ApplicationDeployer extends Deployer<ApplicationModel>
initialize and start application instance
  • Method Details

    • initialize

      void initialize() throws IllegalStateException
      Initialize the component
      Specified by:
      initialize in interface Deployer<ApplicationModel>
      Throws:
      IllegalStateException
    • start

      Starts the component.
      Specified by:
      start in interface Deployer<ApplicationModel>
      Returns:
      Throws:
      IllegalStateException
    • stop

      void stop() throws IllegalStateException
      Stops the component.
      Specified by:
      stop in interface Deployer<ApplicationModel>
      Throws:
      IllegalStateException
    • getStartFuture

      Future getStartFuture()
    • prepareApplicationInstance

      void prepareApplicationInstance(ModuleModel moduleModel)
      Register application instance and start internal services
    • exportMetadataService

      void exportMetadataService()
    • registerServiceInstance

      void registerServiceInstance()
    • 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
    • refreshServiceInstance

      void refreshServiceInstance()
      refresh service instance
    • increaseServiceRefreshCount

      void increaseServiceRefreshCount()
      Increase the count of service update threads. NOTE: should call $decreaseServiceRefreshCount() after update finished
    • decreaseServiceRefreshCount

      void decreaseServiceRefreshCount()
      Decrease the count of service update threads