Interface BackendFactory
public interface BackendFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(EventContext eventContext, BackendBuildContext context, ConfigurationPropertySource propertySource)
-
Method Details
-
create
BackendImplementor create(EventContext eventContext, BackendBuildContext context, ConfigurationPropertySource propertySource) - Parameters:
eventContext
- AnEventContext
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 inBackendSettings
, in particular "type" and "indexes" are reserved for use by the engine.- Returns:
- A backend.
-