This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.avalon.framework.service
Interface Serviceable
- All Known Implementing Classes: 
- AbstractComponentHandler, AbstractContainer, AbstractDataSourceCluster, AbstractDataSourceIdGenerator, AbstractHandlerFactory, AbstractService, DefaultConnectionManager, DefaultEntityResolver, DefaultHelloDBService, DefaultLoggerManager, DefaultTimeScheduler, DefaultXMLizer, FortressBean, FullLifecycleComponent, JaxpParser, JTidyHTMLParser, MRUMemoryStore, RepositoryManager, SourceResolverImpl, XSLTProcessorImpl
- public interface Serviceable
A Serviceable is a class that need to connect to software components using
 a "role" abstraction, thus not depending on particular implementations
 but on behavioral interfaces.
 
 The contract surrounding a Serviceable is that it is a user.
 The Serviceable is able to use Objects managed
 by the ServiceManager it was initialized with.  As part
 of the contract with the system, the instantiating entity must call
 the service method before the Serviceable
 can be considered valid.
- Version:
- $Id: Serviceable.java 30977 2004-07-30 08:57:54Z niclas $
- Author:
- Avalon Development Team
- See Also:
- ServiceManager
 
service
public void service(ServiceManager manager)
             throws ServiceException
- Pass the ServiceManagerto theServiceable.
 TheServiceableimplementation should use the specifiedServiceManagerto acquire the components it needs for
 execution.
 
- 
- Parameters:
- manager- The- ServiceManagerwhich this- Serviceableuses. Must not be- null.
- Throws:
- ServiceException- if an error occurs
 
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.