org.apache.avalon.framework.service
public interface Serviceable
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: $Id: Serviceable.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
Method Summary | |
---|---|
void | service(ServiceManager manager)
Pass the ServiceManager to the Serviceable .
|
ServiceManager
to the Serviceable
.
The Serviceable
implementation should use the specified
ServiceManager
to acquire the components it needs for
execution.
Parameters: manager The ServiceManager
which this
Serviceable
uses. Must not be null
.
Throws: ServiceException if an error occurs