Top Fields Constructors Methods
liquibase.parser

public Class ChangeLogParserFactory

extends Object
Class Inheritance
Imports
liquibase.Scope, liquibase.exception.LiquibaseException, .UnexpectedLiquibaseException, .UnknownChangelogFormatException, liquibase.resource.ResourceAccessor, java.util.ArrayList, .Collections, .List

Field Summary

Modifier and TypeField and Description
private static ChangeLogParserFactory
private final List<ChangeLogParser>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static synchronized ChangeLogParserFactory
public ChangeLogParser
getParser(String fileNameOrExtension, ResourceAccessor resourceAccessor)

public List<ChangeLogParser>
public void
register(ChangeLogParser changeLogParsers)

private void
register(List<ChangeLogParser> changeLogParsers)

public static synchronized void
public static synchronized void
setInstance(ChangeLogParserFactory instance)

Set the instance used by this singleton.

public void
unregister(ChangeLogParser changeLogParser)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
private static ChangeLogParserFactory instance
parsersback to summary
private final List<ChangeLogParser> parsers

Constructor Detail

ChangeLogParserFactoryback to summary
private ChangeLogParserFactory()

Method Detail

getInstanceback to summary
public static synchronized ChangeLogParserFactory getInstance()
getParserback to summary
public ChangeLogParser getParser(String fileNameOrExtension, ResourceAccessor resourceAccessor) throws LiquibaseException
getParsersback to summary
public List<ChangeLogParser> getParsers()
registerback to summary
public void register(ChangeLogParser changeLogParsers)
registerback to summary
private void register(List<ChangeLogParser> changeLogParsers)
resetback to summary
public static synchronized void reset()
setInstanceback to summary
public static synchronized void setInstance(ChangeLogParserFactory instance)

Set the instance used by this singleton. Used primarily for testing.

unregisterback to summary
public void unregister(ChangeLogParser changeLogParser)
unregisterAllParsersback to summary
public void unregisterAllParsers()