IceBox._ServiceManagerOperationsNC Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icebox-compat Show documentation
Show all versions of icebox-compat Show documentation
IceBox is an easy-to-use framework for Ice application services
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.4
//
//
//
// Generated from file `IceBox.ice'
//
// Warning: do not edit this file.
//
//
//
package IceBox;
/**
* Administers a set of {@link Service} instances.
*
* @see Service
*
**/
public interface _ServiceManagerOperationsNC
{
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @return A dictionary mapping Slice type ids to their checksums.
*
**/
java.util.Map getSliceChecksums();
/**
* Start an individual service.
*
* @param service The service name.
*
* @throws AlreadyStartedException If the service is already running.
* @throws NoSuchServiceException If no service could be found with the given name.
**/
void startService(String service)
throws AlreadyStartedException,
NoSuchServiceException;
/**
* Stop an individual service.
*
* @param service The service name.
*
* @throws AlreadyStoppedException If the service is already stopped.
* @throws NoSuchServiceException If no service could be found with the given name.
**/
void stopService(String service)
throws AlreadyStoppedException,
NoSuchServiceException;
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
**/
void addObserver(ServiceObserverPrx observer);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
**/
void shutdown();
}