Interface Deployer<E extends ScopeModel>

All Known Subinterfaces:
ApplicationDeployer, ModuleDeployer
All Known Implementing Classes:
AbstractDeployer

public interface Deployer<E extends ScopeModel>
  • Method Details

    • initialize

      void initialize() throws IllegalStateException
      Initialize the component
      Throws:
      IllegalStateException
    • start

      Starts the component.
      Returns:
      Throws:
      IllegalStateException
    • stop

      void stop() throws IllegalStateException
      Stops the component.
      Throws:
      IllegalStateException
    • isPending

      boolean isPending()
      Returns:
      true if the component is added and waiting to start
    • isRunning

      boolean isRunning()
      Returns:
      true if the component is starting or has been started.
    • isStarted

      boolean isStarted()
      Returns:
      true if the component has been started.
      See Also:
    • isCompletion

      boolean isCompletion()
    • isStarting

      boolean isStarting()
      Returns:
      true if the component is starting.
      See Also:
    • isStopping

      boolean isStopping()
      Returns:
      true if the component is stopping.
      See Also:
    • isStopped

      boolean isStopped()
      Returns:
      true if the component is stopping.
      See Also:
    • isFailed

      boolean isFailed()
      Returns:
      true if the component has failed to start or has failed to stop.
    • getState

      DeployState getState()
      Returns:
      current state
    • addDeployListener

      void addDeployListener(DeployListener<E> listener)
    • removeDeployListener

      void removeDeployListener(DeployListener<E> listener)
    • getError

      Throwable getError()