Class HibernateSearchPreIntegrationService.Initiator
java.lang.Object
org.hibernate.search.mapper.orm.bootstrap.impl.HibernateSearchPreIntegrationService.Initiator
- All Implemented Interfaces:
StandardServiceInitiator<HibernateSearchPreIntegrationService>,ServiceInitiator<HibernateSearchPreIntegrationService>
- Enclosing class:
- HibernateSearchPreIntegrationService
public static class HibernateSearchPreIntegrationService.Initiator
extends Object
implements StandardServiceInitiator<HibernateSearchPreIntegrationService>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchIntegrationEnvironmentcreateEnvironment(ConfigurationPropertyChecker propertyChecker, ConfigurationPropertySource propertySource, ServiceRegistryImplementor registry) Obtains the service role initiated by this initiator.initiateService(Map configurationValues, ServiceRegistryImplementor registry) Initiates the managed service.
-
Constructor Details
-
Initiator
public Initiator()
-
-
Method Details
-
getServiceInitiated
Description copied from interface:ServiceInitiatorObtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiatedin interfaceServiceInitiator<HibernateSearchPreIntegrationService>- Returns:
- The service role.
-
initiateService
public HibernateSearchPreIntegrationService initiateService(Map configurationValues, ServiceRegistryImplementor registry) Description copied from interface:StandardServiceInitiatorInitiates the managed service.- Specified by:
initiateServicein interfaceStandardServiceInitiator<HibernateSearchPreIntegrationService>- Parameters:
configurationValues- The configuration values in effectregistry- The service registry. Can be used to locate services needed to fulfill initiation.- Returns:
- The initiated service.
-
createEnvironment
public static SearchIntegrationEnvironment createEnvironment(ConfigurationPropertyChecker propertyChecker, ConfigurationPropertySource propertySource, ServiceRegistryImplementor registry)
-