org.hibernate.search.engine.service.named.spi

## Interface NamedResolver

- All Superinterfaces:
    Service
  All Known Implementing Classes:
    NoopNamedResolver

      public interface NamedResolver
      extends Service

  The service to use to lookup objects by name. For example this might delegate to a JNDI lookup service. Abstracted as a Service to allow plugging how such a lookup should be performed; for example to delegate to Hibernate ORM's org.hibernate.engine.jndi.spi.JndiService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `locate(String jndiName)` Locate an object in JNDI by name

- - ### Method Detail

    - #### locate

          Object locate(String jndiName)

      Locate an object in JNDI by name
      Parameters:
        `jndiName` - The JNDI name of the object to locate
      Returns:
        The object found (may be null).

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved