Interface Serviceable
-
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 aServiceable
is that it is a user. TheServiceable
is able to useObject
s managed by theServiceManager
it was initialized with. As part of the contract with the system, the instantiating entity must call theservice
method before theServiceable
can be considered valid.- Version:
- CVS $Revision: 1.17 $ $Date: 2003/02/11 15:58:42 $
- Author:
- Avalon Development Team
- See Also:
ServiceManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
service(ServiceManager manager)
Pass theServiceManager
to theServiceable
.
-
-
-
Method Detail
-
service
void service(ServiceManager manager) throws ServiceException
Pass theServiceManager
to theServiceable
. TheServiceable
implementation should use the specifiedServiceManager
to acquire the components it needs for execution.- Parameters:
manager
- TheServiceManager
which thisServiceable
uses. Must not benull
.- Throws:
ServiceException
- if an error occurs
-
-