com.cafesoft.core.service
Interface Service

All Superinterfaces:
Debuggable
All Known Subinterfaces:
AccessControlService, AuthenticationService, JdbcConnectionPoolService, LdapConnectionPoolService, LifecycleService, PingService, ServiceAdapter, ServiceConnector, ServiceManager, ServiceProvider, SessionAccessService, SessionControlService, UserRepositoryService
All Known Implementing Classes:
AbstractLifecycleService, AbstractService, AbstractServiceConnector, StandardServiceAdapter, StandardServiceManager, StandardServiceProvider

public interface Service
extends Debuggable

Service is a basic interface used to identify a class as a Service. Objects that implement this interface can be registered and looked up using a ServiceManager.

Since:
7/25/2001

Method Summary
 void destroy()
          Destroy the Service.
 ServiceConfig getServiceConfig()
          Get the ServiceConfig.
 void initialize(ServiceConfig config)
          Initialize the Service.
 
Methods inherited from interface com.cafesoft.core.util.Debuggable
setDebug
 

Method Detail

initialize

public void initialize(ServiceConfig config)
                throws ServiceException
Initialize the Service.

Parameters:
config - the ServiceConfig
Throws:
ServiceException - if an error initializing the Service

getServiceConfig

public ServiceConfig getServiceConfig()
Get the ServiceConfig.

Returns:
the ServiceConfig

destroy

public void destroy()
Destroy the Service. Implementations should null Object references.



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