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 ChangeLogHistoryServicegetChangeLogService(Database database)static ChangeLogHistoryServiceFactorygetInstance()Deprecated.Instead use Scope.getCurrentScope().getSingleton(ChangeLogHistoryServiceFactory.class)protected Class<ChangeLogHistoryService>getPluginClass()protected intgetPriority(ChangeLogHistoryService changeLogHistoryService, Object... args)Returns the priority of the given object based on the passed args array.voidregister(ChangeLogHistoryService plugin)voidresetAll()voidunregister(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:
getPluginClassin classAbstractPluginFactory<ChangeLogHistoryService>
-
getPriority
protected int getPriority(ChangeLogHistoryService changeLogHistoryService, Object... args)
Description copied from class:AbstractPluginFactoryReturns 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:
getPriorityin classAbstractPluginFactory<ChangeLogHistoryService>
-
register
public void register(ChangeLogHistoryService plugin)
- Overrides:
registerin classAbstractPluginFactory<ChangeLogHistoryService>
-
getChangeLogService
public ChangeLogHistoryService getChangeLogService(Database database)
-
unregister
public void unregister(ChangeLogHistoryService service)
-
resetAll
public void resetAll()
-
-