Class AbstractService

java.lang.Object
com.google.common.util.concurrent.AbstractService
All Implemented Interfaces:
Service

@GwtIncompatible public abstract class AbstractService extends Object implements Service
Base class for implementing services that can handle doStart() and doStop() requests, responding to them with notifyStarted() and notifyStopped() callbacks. Its subclasses must manage threads manually; consider AbstractExecutionThreadService if you need only a single execution thread.
Since:
1.0
Author:
Jesse Wilson, Luke Sandberg