org.apache.avalon.fortress.impl.lookup
Class NoopServiceManager
java.lang.Object
org.apache.avalon.fortress.impl.lookup.NoopServiceManager
- All Implemented Interfaces:
- org.apache.avalon.framework.service.ServiceManager
public class NoopServiceManager
- extends Object
- implements org.apache.avalon.framework.service.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 org.apache.avalon.framework.service.ServiceException
- Specified by:
lookup
in interface org.apache.avalon.framework.service.ServiceManager
- Throws:
org.apache.avalon.framework.service.ServiceException
hasService
public boolean hasService(String role)
- Specified by:
hasService
in interface org.apache.avalon.framework.service.ServiceManager
release
public void release(Object component)
- Specified by:
release
in interface org.apache.avalon.framework.service.ServiceManager
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.