Annotation Type TypeBinderRef


@Documented @Target({}) @Retention(RUNTIME) public @interface TypeBinderRef
References a TypeBinder.

References can use either a name, a type, or both.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Class used as a marker for the default value of the type() attribute.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Reference a type binder by its bean name.
     
    org.hibernate.search.engine.environment.bean.BeanRetrieval
     
    Class<? extends TypeBinder>
    Reference a type binder by its bean type.
  • Element Details

    • name

      String name
      Reference a type binder by its bean name.
      Returns:
      The bean name of the type binder.
      Default:
      ""
    • type

      Class<? extends TypeBinder> type
      Reference a type binder by its bean type.
      Returns:
      The type of the type binder.
      Default:
      org.hibernate.search.mapper.pojo.bridge.mapping.annotation.TypeBinderRef.UndefinedBinderImplementationType.class
    • retrieval

      org.hibernate.search.engine.environment.bean.BeanRetrieval retrieval
      Returns:
      How to retrieve the binder. See BeanRetrieval.
      Default:
      ANY
    • params

      Param[] params
      Returns:
      Params that will be passed to the TypeBinder.
      Default:
      {}