Interface ServiceManager

All Superinterfaces:
Object

public interface ServiceManager extends Object
Administers a set of Service instances.
See Also:
  • Method Details

    • getSliceChecksums

      Map<String,String> getSliceChecksums(Current current)
      Returns the checksums for the IceBox Slice definitions.
      Parameters:
      current - The Current object for the invocation.
      Returns:
      A dictionary mapping Slice type ids to their checksums.
    • startService

      void startService(String service, Current current) throws AlreadyStartedException, NoSuchServiceException
      Start an individual service.
      Parameters:
      service - The service name.
      current - The Current object for the invocation.
      Throws:
      AlreadyStartedException - If the service is already running.
      NoSuchServiceException - If no service could be found with the given name.
    • stopService

      void stopService(String service, Current current) throws AlreadyStoppedException, NoSuchServiceException
      Stop an individual service.
      Parameters:
      service - The service name.
      current - The Current object for the invocation.
      Throws:
      AlreadyStoppedException - If the service is already stopped.
      NoSuchServiceException - If no service could be found with the given name.
    • addObserver

      void addObserver(ServiceObserverPrx observer, Current current)
      Registers a new observer with the ServiceManager.
      Parameters:
      observer - The new observer
      current - The Current object for the invocation.
    • shutdown

      void shutdown(Current current)
      Shut down all services. This causes stop to be invoked on all configured services.
      Parameters:
      current - The Current object for the invocation.
    • ice_ids

      default String[] ice_ids(Current current)
      Description copied from interface: Object
      Returns the Slice type IDs of the interfaces supported by this object.
      Specified by:
      ice_ids in interface Object
      Parameters:
      current - The Current object for the invocation.
      Returns:
      The Slice type IDs of the interfaces supported by this object, in base-to-derived order. The first element of the returned array is always ::Ice::Object.
    • ice_id

      default String ice_id(Current current)
      Description copied from interface: Object
      Returns the Slice type ID of the most-derived interface supported by this object.
      Specified by:
      ice_id in interface Object
      Parameters:
      current - The Current object for the invocation.
      Returns:
      The Slice type ID of the most-derived interface.
    • ice_staticId

      static String ice_staticId()
      Description copied from interface: Object
      Returns the Slice type ID of the interface supported by this object.
      Returns:
      The return value is always ::Ice::Object.