Package liquibase.changeset
Class ChangeSetServiceFactory
- java.lang.Object
-
- liquibase.plugin.AbstractPluginFactory<ChangeSetService>
-
- liquibase.changeset.ChangeSetServiceFactory
-
- All Implemented Interfaces:
PluginFactory,SingletonObject
public class ChangeSetServiceFactory extends AbstractPluginFactory<ChangeSetService>
Create the appropriate ChangeSetService instance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeSetServicecreateChangeSetService()static ChangeSetServiceFactorygetInstance()protected Class<ChangeSetService>getPluginClass()protected intgetPriority(ChangeSetService obj, Object... args)Returns the priority of the given object based on the passed args array.-
Methods inherited from class liquibase.plugin.AbstractPluginFactory
findAllInstances, getPlugin, getPlugins, register, removeInstance
-
-
-
-
Method Detail
-
getInstance
public static ChangeSetServiceFactory getInstance()
-
getPluginClass
protected Class<ChangeSetService> getPluginClass()
- Specified by:
getPluginClassin classAbstractPluginFactory<ChangeSetService>
-
getPriority
protected int getPriority(ChangeSetService obj, 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<ChangeSetService>
-
createChangeSetService
public ChangeSetService createChangeSetService()
-
-