Interface DirectoryCreationContext


public interface DirectoryCreationContext
  • Method Details

    • eventContext

      EventContext eventContext()
      Returns:
      The event context to use for exceptions.
    • indexName

      String indexName()
      Returns:
      The name of the index in Hibernate Search.
    • shardId

      Optional<String> shardId()
      Returns:
      The identifier of the index shard, if relevant.
    • beanResolver

      BeanResolver beanResolver()
      Returns:
      A BeanResolver.
    • configurationPropertySource

      ConfigurationPropertySource configurationPropertySource()
      Returns:
      A configuration property source, appropriately masked so that the factory doesn't need to care about Hibernate Search prefixes (hibernate.search.*, etc.). All the properties can be accessed at the root. CAUTION: the property key "type" is reserved for use by the engine.
    • createConfiguredLockFactorySupplier

      Optional<Supplier<LockFactory>> createConfiguredLockFactorySupplier()