com.cafesoft.core.service
Interface Service

All Superinterfaces:
Debuggable
All Known Subinterfaces:
AccessControlService, ActiveDirectoryGroupNameService, ActiveDirectoryPrimaryGroupService, AuthenticationService, JdbcConnectionPoolService, LdapConnectionPoolService, LifecycleService, PingService, RMIRegistryProxyService, RMIRegistryService, ServiceAdapter, ServiceConnector, ServiceManager, ServiceProvider, SessionAccessService, SessionControlService, UnboundIDLdapConnectionPoolService, 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

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

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

getServiceConfig

ServiceConfig getServiceConfig()
Get the ServiceConfig.

Returns:
the ServiceConfig

destroy

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



Generated on 10:38:35 AM April 14, 2011, © 1996-2010 Cafésoft LLC. All rights reserved.