|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the interface for strategies that perform the actual lookup of objects (usually but not
necessarily using JNDI). The default implementation Locator.DefaultLookupStrategy
uses
JNDI.
Method Summary | |
java.util.Properties |
getProperties()
|
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. |
Method Detail |
public java.util.Properties getProperties()
public java.lang.Object lookup(java.lang.String namingIdentifier, ServiceLocatorOptions options) throws ServiceLocatorException
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.
ServiceLocatorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |