org.apache.avalon.framework.service
public class WrapperServiceManager extends Object implements ServiceManager
Version: CVS $Revision: 1.7 $ $Date: 2003/02/10 07:19:18 $
Constructor Summary | |
---|---|
WrapperServiceManager(ComponentManager componentManager)
This constructor is a constructor for a WrapperServiceManager.
|
Method Summary | |
---|---|
boolean | hasService(String key)
Return true if the component is available in ServiceManager.
|
Object | lookup(String key)
Retrieve a service using specified key.
|
void | release(Object service)
Release the service back to the ServiceManager.
|
Parameters: componentManager the ComponentManager instance that is being wrapped
Parameters: key the lookup
Returns: true if the component is available in ServiceManager
Parameters: key the key to use to lookup component
Returns: the matching service
Throws: ServiceException if unable to provide the service
See Also: ServiceManager
Parameters: service the service