org.jboss.cache.lock
Class LockStrategyFactory

java.lang.Object
  extended by org.jboss.cache.lock.LockStrategyFactory

public class LockStrategyFactory
extends Object

Factory to create LockStragtegy instance.

Author:
Ben Wang

Constructor Summary
LockStrategyFactory()
           
 
Method Summary
 LockStrategy getLockStrategy()
           
 LockStrategy getLockStrategy(IsolationLevel lockingLevel)
           
 void injectDependencies(Configuration configuration)
           
 void setIsolationLevel(IsolationLevel level)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockStrategyFactory

public LockStrategyFactory()
Method Detail

injectDependencies

public void injectDependencies(Configuration configuration)

start

public void start()

getLockStrategy

public LockStrategy getLockStrategy()

getLockStrategy

public LockStrategy getLockStrategy(IsolationLevel lockingLevel)

setIsolationLevel

public void setIsolationLevel(IsolationLevel level)


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.