org.apache.avalon.fortress.impl.lookup
Class NoopServiceManager
java.lang.Object
|
+--org.apache.avalon.fortress.impl.lookup.NoopServiceManager
- All Implemented Interfaces:
- ServiceManager
- public class NoopServiceManager
- extends Object
- implements ServiceManager
No-op ServiceManager contains no components, and is used when we don't want to allow a component to access other
components.
- Version:
- CVS $ Revision: 1.1 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopServiceManager
public NoopServiceManager()
lookup
public Object lookup(String role)
throws ServiceException
- Specified by:
lookup
in interface ServiceManager
ServiceException
hasService
public boolean hasService(String role)
- Specified by:
hasService
in interface ServiceManager
release
public void release(Object component)
- Specified by:
release
in interface ServiceManager
Copyright © 2000-2002 Apache Avalon Project. All Rights Reserved.