Interface Stoppable

All Known Implementing Classes:

public interface Stoppable

Provides an ability to stop and restart the service.

A Service should implement this interface if it can be stopped and then started again. The cycle of stopping and restarting can occur as many times as needed, until the service is shut down finally via its Service.shutdown() method.

Note that service, which doesn't implement this interface, cannot be started more than once. Such a service must throw the IllegalStateException in the case of invoking its stop() method.

Copyright (c) 1999-2005, Gnome Ltd. All rights reserved.