Class SqlScriptExtractorInitiator
- java.lang.Object
-
- org.hibernate.tool.schema.internal.script.SqlScriptExtractorInitiator
-
- All Implemented Interfaces:
StandardServiceInitiator<SqlScriptCommandExtractor>
,ServiceInitiator<SqlScriptCommandExtractor>
public class SqlScriptExtractorInitiator extends Object implements StandardServiceInitiator<SqlScriptCommandExtractor>
-
-
Field Summary
Fields Modifier and Type Field Description static SqlScriptExtractorInitiator
INSTANCE
-
Constructor Summary
Constructors Constructor Description SqlScriptExtractorInitiator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<SqlScriptCommandExtractor>
getServiceInitiated()
Obtains the service role initiated by this initiator.SqlScriptCommandExtractor
initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Initiates the managed service.
-
-
-
Field Detail
-
INSTANCE
public static final SqlScriptExtractorInitiator INSTANCE
-
-
Method Detail
-
getServiceInitiated
public Class<SqlScriptCommandExtractor> getServiceInitiated()
Description copied from interface:ServiceInitiator
Obtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiated
in interfaceServiceInitiator<SqlScriptCommandExtractor>
- Returns:
- The service role.
-
initiateService
public SqlScriptCommandExtractor initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Description copied from interface:StandardServiceInitiator
Initiates the managed service.- Specified by:
initiateService
in interfaceStandardServiceInitiator<SqlScriptCommandExtractor>
- Parameters:
configurationValues
- The configuration values in effectregistry
- The service registry. Can be used to locate services needed to fulfill initiation.- Returns:
- The initiated service.
-
-