org.hibernate.search.hcore.spi

## Interface BeanResolver

- All Superinterfaces:
    Serializable, Service

      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 (for instance in Hibernate Search 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