org.apache.avalon.framework.service
Class WrapperServiceManager
java.lang.Object
org.apache.avalon.framework.service.WrapperServiceManager
- ServiceManager
public class WrapperServiceManager
extends java.lang.Object
Version:
- Avalon Development Team
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.
|
WrapperServiceManager
public WrapperServiceManager(ComponentManager componentManager)
This constructor is a constructor for a WrapperServiceManager.
componentManager
- the ComponentManager instance that is being wrapped
hasService
public boolean hasService(String key)
Return true if the component is available in ServiceManager.
- hasService in interface ServiceManager
key
- the lookup
- true if the component is available in ServiceManager
release
public void release(Object service)
Release the service back to the ServiceManager.
- release in interface ServiceManager
service
- the service
"Copyright B) 2001 Apache Jakarta Project. All Rights Reserved."