Interface ILifecycle

All Known Subinterfaces:
IApplicationConfigurationManager, ch.ivyteam.ivy.manager.IManager, IServer, IServerExtension

public interface ILifecycle
An interface that is implemented by classes that can be started and stopped.
Since:
04.12.2006
API:
This is a public API.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the thing to start
    void
    start(org.eclipse.core.runtime.IProgressMonitor monitor)
    Starts the thing
    void
    stop(org.eclipse.core.runtime.IProgressMonitor monitor)
    Stops the thing
  • Method Details

    • start

      void start(org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
      Starts the thing
      Parameters:
      monitor - optional progress monitor
      Throws:
      Exception - if start fails
      API:
      This public API is available in Java.
    • stop

      void stop(org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
      Stops the thing
      Parameters:
      monitor - optional progress monitor
      Throws:
      Exception - if stop fails
      API:
      This public API is available in Java.
    • getName

      String getName()
      Gets the name of the thing to start
      Returns:
      name
      API:
      This public API is available in Java.