org.hibernate.search.engine.service.beanresolver.spi

## Interface BeanResolver

- All Superinterfaces:
    Service
  All Known Implementing Classes:
    ReflectionBeanResolver, ReflectionFallbackBeanResolver

      public interface BeanResolver
      extends Service

  Provides a way to resolve references to externally defined beans.

  Used in some cases when beans have to be plugged in Hibernate Search (for instance for field bridges and class bridges).

  Since:
    5.8
  Experimental
    This type is under active development. You should be prepared for incompatible changes in future releases.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `resolve(Class<?> reference, Class<T> expectedClass)`

- - ### Method Detail

    - #### resolve

          <T> T resolve(Class<?> reference,
                        Class<T> expectedClass)

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