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 a
The contract surrounding a
Serviceable
is that it is a user.
The Serviceable
is able to use Object
s 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:
- CVS $Revision: 1.19 $ $Date: 2004/02/11 14:34:25 $
- Author:
- Avalon Development Team
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
service
(ServiceManager manager) Pass theServiceManager
to theServiceable
.
-
Method Details
-
service
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
-