Interface IObjectLocator
- All Known Implementing Classes:
JndiObjectLocator, ResourceObjectLocator
public interface IObjectLocator
-
Method Summary
Modifier and TypeMethodDescription<O> @Nullable Olookup(@NonNull String name, @Nullable Properties environment, @Nullable 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
<O> @Nullable 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
-