All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.engine.cfg.package-info Maven / Gradle / Ivy

/*
 * SPDX-License-Identifier: Apache-2.0
 * Copyright Red Hat Inc. and Hibernate Authors
 */

/**
 * This package contains everything related to the configuration of the Hibernate Search engine.
 *
 * 

Common expected types for property values

* * Below are some commonly used property types across all Hibernate Search settings * (engine, backends, mappers, ...). * *

Bean reference

* * A reference to a bean of type {@code T} can be passed as either: *
    *
  • An instance of {@code T}, *
  • or a {@link org.hibernate.search.engine.environment.bean.BeanReference BeanReference} * to a bean in the dependency injection context (CDI/Spring/etc.), *
  • or a {@link java.lang.Class Class} representing the type of such a bean, *
  • or a {@link java.lang.String String} representing the name of such a bean, *
  • or a {@link org.hibernate.search.engine.environment.bean.BeanReference BeanReference} * to a type exposing a public, no-arg constructor, * to be instantiated through that constructor outside of any injection context, *
  • or a {@link java.lang.Class Class} representing such type, *
  • or a {@link java.lang.String String} representing the fully-qualified name of such type. *
* The value will be interpreted in the above order. * For example if CDI is used in the application, and a bean-reference property is set to a {@link java.lang.Class Class} * representing the type of a CDI bean which happens to expose a public, no-arg constructor, * then Hibernate Search will retrieve the bean through CDI, not by calling the constructor directly. * *

Multi-valued bean reference

* * A multivalued reference to a bean of type {@code T} can be passed as either: * */ package org.hibernate.search.engine.cfg;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy