Package liquibase.changelog
Class ChangeLogHistoryServiceFactory
- java.lang.Object
-
- liquibase.plugin.AbstractPluginFactory<ChangeLogHistoryService>
-
- liquibase.changelog.ChangeLogHistoryServiceFactory
-
- All Implemented Interfaces:
PluginFactory
,SingletonObject
public class ChangeLogHistoryServiceFactory extends AbstractPluginFactory<ChangeLogHistoryService>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChangeLogHistoryService
getChangeLogService(Database database)
static ChangeLogHistoryServiceFactory
getInstance()
Deprecated.Instead use Scope.getCurrentScope().getSingleton(ChangeLogHistoryServiceFactory.class)protected Class<ChangeLogHistoryService>
getPluginClass()
protected int
getPriority(ChangeLogHistoryService changeLogHistoryService, Object... args)
Returns the priority of the given object based on the passed args array.void
register(ChangeLogHistoryService plugin)
void
resetAll()
void
unregister(ChangeLogHistoryService service)
-
Methods inherited from class liquibase.plugin.AbstractPluginFactory
findAllInstances, getPlugin, getPlugins, removeInstance
-
-
-
-
Method Detail
-
getInstance
@Deprecated public static ChangeLogHistoryServiceFactory getInstance()
Deprecated.Instead use Scope.getCurrentScope().getSingleton(ChangeLogHistoryServiceFactory.class)
-
getPluginClass
protected Class<ChangeLogHistoryService> getPluginClass()
- Specified by:
getPluginClass
in classAbstractPluginFactory<ChangeLogHistoryService>
-
getPriority
protected int getPriority(ChangeLogHistoryService changeLogHistoryService, Object... args)
Description copied from class:AbstractPluginFactory
Returns the priority of the given object based on the passed args array. The args are created as part of the custom public getPlugin method in implementations are passed throughAbstractPluginFactory.getPlugin(Object...)
- Specified by:
getPriority
in classAbstractPluginFactory<ChangeLogHistoryService>
-
register
public void register(ChangeLogHistoryService plugin)
- Overrides:
register
in classAbstractPluginFactory<ChangeLogHistoryService>
-
getChangeLogService
public ChangeLogHistoryService getChangeLogService(Database database)
-
unregister
public void unregister(ChangeLogHistoryService service)
-
resetAll
public void resetAll()
-
-