Interface IObjectLocator
- All Known Implementing Classes:
JndiObjectLocator,ResourceObjectLocator
public interface IObjectLocator
-
Method Summary
Modifier and TypeMethodDescription<O> Olookup(String name, Properties environment, Class<O> lookupClass) Performs the actual lookup and should returnnullif it cannot find the requested resource so the nextIObjectLocatorcan give it a shot.
-
Method Details
-
lookup
@Nullable <O> O lookup(@Nonnull String name, @Nullable Properties environment, @Nullable Class<O> lookupClass) throws Exception Performs the actual lookup and should returnnullif it cannot find the requested resource so the nextIObjectLocatorcan give it a shot.- Throws:
Exception
-