com.cafesoft.core.service
Interface LifecycleService

All Superinterfaces:
Debuggable, Lifecycle, Service
All Known Subinterfaces:
JdbcConnectionPoolService, LdapConnectionPoolService, ServiceConnector, ServiceManager, ServiceProvider, UserRepositoryService
All Known Implementing Classes:
AbstractLifecycleService, AbstractServiceConnector, StandardServiceManager, StandardServiceProvider

public interface LifecycleService
extends Service, Lifecycle

LifecycleService is a basic interface used to identify a class as a Service that also implements Lifecycle methods. This interface might be implemented by services that need to be initialized, started, and stopped in order to optimize performance, manage expensive system resources, etc. Objects that implement this interface can be registered and looked up using a ServiceManager, which may also start, stop, and monitor the service via it's Lifecycle API.

Since:
12/3/01

Field Summary
 
Fields inherited from interface com.cafesoft.core.lifecycle.Lifecycle
START_EVENT, STOP_EVENT
 
Methods inherited from interface com.cafesoft.core.service.Service
destroy, getServiceConfig, initialize
 
Methods inherited from interface com.cafesoft.core.util.Debuggable
setDebug
 
Methods inherited from interface com.cafesoft.core.lifecycle.Lifecycle
addLifecycleListener, isStarted, removeLifecycleListener, start, stop
 



Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.