Interface BackendFactory


  • public interface BackendFactory
    • Method Detail

      • create

        BackendImplementor create​(EventContext eventContext,
                                  BackendBuildContext context,
                                  ConfigurationPropertySource propertySource)
        Parameters:
        eventContext - An EventContext representing the backend.
        context - The build context.
        propertySource - A configuration property source, appropriately masked so that the backend doesn't need to care about Hibernate Search prefixes (hibernate.search.*, etc.). All the properties can be accessed at the root. CAUTION: the property keys listed in BackendSettings, in particular "type" and "indexes" are reserved for use by the engine.
        Returns:
        A backend.