|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpu.patterns.serviceLocator.Locator.DefaultLookupStrategy
org.jpu.patterns.serviceLocator.onePerContext.test.opctest.BogusLookupStrategy
Constructor Summary | |
opctest.BogusLookupStrategy(Locator loc)
|
Method Summary | |
java.lang.Object |
lookup(java.lang.String namingIdentifier,
ServiceLocatorOptions options)
Looks up the object with the given name and returns it, or throws an exception if it can't be found. |
Methods inherited from class org.jpu.patterns.serviceLocator.Locator.DefaultLookupStrategy |
getJndiProperties, getProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public opctest.BogusLookupStrategy(Locator loc)
Method Detail |
public java.lang.Object lookup(java.lang.String namingIdentifier, ServiceLocatorOptions options) throws ServiceLocatorException
ILocator.ILookupStrategy
ServiceLocatorOptions
object passed to ILocator.getObject(String)
is passed to this method.
This method should not narrow the object as that will be done by the caller.
lookup
in interface ILocator.ILookupStrategy
lookup
in class Locator.DefaultLookupStrategy
ServiceLocatorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |