Interface IObjectLocator

All Known Implementing Classes:
JndiObjectLocator, ResourceObjectLocator

public interface IObjectLocator
  • Method Summary

    Modifier and Type
    Method
    Description
    <O> O
    lookup(String name, Properties environment, Class<O> lookupClass)
    Performs the actual lookup and should return null if it cannot find the requested resource so the next IObjectLocator can 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 return null if it cannot find the requested resource so the next IObjectLocator can give it a shot.
      Throws:
      Exception