Interface Serviceable
-
public interface ServiceableA 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 aServiceableis that it is a user. TheServiceableis able to useObjects managed by theServiceManagerit was initialized with. As part of the contract with the system, the instantiating entity must call theservicemethod before theServiceablecan be considered valid.- Version:
- CVS $Revision: 1.19 $ $Date: 2004/02/11 14:34:25 $
- Author:
- Avalon Development Team
- See Also:
ServiceManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidservice(ServiceManager manager)Pass theServiceManagerto theServiceable.
-
-
-
Method Detail
-
service
void service(ServiceManager manager) throws ServiceException
Pass theServiceManagerto theServiceable. TheServiceableimplementation should use the specifiedServiceManagerto acquire the components it needs for execution.- Parameters:
manager- TheServiceManagerwhich thisServiceableuses. Must not benull.- Throws:
ServiceException- if an error occurs
-
-