liquibase.lockservice
Class LockServiceFactory

java.lang.Object
  extended by liquibase.lockservice.LockServiceFactory

public class LockServiceFactory
extends Object

Author:
John Sanda

Method Summary
static LockServiceFactory getInstance()
           
 LockService getLockService(Database database)
           
 void register(LockService lockService)
           
static void reset()
           
 void resetAll()
           
static void setInstance(LockServiceFactory lockServiceFactory)
          Set the instance used by this singleton.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LockServiceFactory getInstance()

setInstance

public static void setInstance(LockServiceFactory lockServiceFactory)
Set the instance used by this singleton. Used primarily for testing.


reset

public static void reset()

register

public void register(LockService lockService)

getLockService

public LockService getLockService(Database database)

resetAll

public void resetAll()


Copyright © 2015 Liquibase.org. All rights reserved.