|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.fortress.impl.lookup.NoopServiceManager
public class NoopServiceManager
No-op ServiceManager contains no components, and is used when we don't want to allow a component to access other components.
Constructor Summary | |
---|---|
NoopServiceManager()
|
Method Summary | |
---|---|
boolean |
hasService(java.lang.String role)
|
java.lang.Object |
lookup(java.lang.String role)
|
void |
release(java.lang.Object component)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoopServiceManager()
Method Detail |
---|
public java.lang.Object lookup(java.lang.String role) throws ServiceException
lookup
in interface ServiceManager
ServiceException
public boolean hasService(java.lang.String role)
hasService
in interface ServiceManager
public void release(java.lang.Object component)
release
in interface ServiceManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |