Annotation Type RoutingBinderRef


@Documented @Target({}) @Retention(RUNTIME) public @interface RoutingBinderRef
References a RoutingBinder.

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

  • Element Details

    • name

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

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

      BeanRetrieval retrieval
      Returns:
      How to retrieve the binder. See BeanRetrieval.
      Default:
      ANY
    • params

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