org.hibernate.search.engine.service.named.impl

## Class NoopNamedResolver

- java.lang.Object
- - org.hibernate.search.engine.service.named.impl.NoopNamedResolver

- All Implemented Interfaces:
    NamedResolver, Service

      public class NoopNamedResolver
      extends Object
      implements NamedResolver

  This implementation of NamedResolver is not functional: integrator code is expected to provide a custom implementation to replace this. This implementation is provided to generate an appropriate error when no replacement is provided.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoopNamedResolver()`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NoopNamedResolver

          public NoopNamedResolver()

  - ### Method Detail

    - #### locate

          public Object locate(String jndiName)

      Description copied from interface: `NamedResolver`
      Locate an object in JNDI by name
      Specified by:
        `locate` in interface `NamedResolver`
      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