Interface Service

All Known Subinterfaces:
ServiceMBean
All Known Implementing Classes:
ServiceMBeanSupport

public interface Service
The Service interface.
Version:
$Revision: 81032 $
Author:
Marc Fleury.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    create the service, do expensive operations etc
    void
    destroy the service, tear down
    void
    start the service, create is already called
    void
    stop the service
  • Method Details

    • create

      void create() throws Exception
      create the service, do expensive operations etc
      Throws:
      Exception - for any error
    • start

      void start() throws Exception
      start the service, create is already called
      Throws:
      Exception - for any error
    • stop

      void stop()
      stop the service
    • destroy

      void destroy()
      destroy the service, tear down