org.apache.ojb.odmg.locking
Class LockStrategyFactory

java.lang.Object
  extended by org.apache.ojb.odmg.locking.LockStrategyFactory

Deprecated.

public class LockStrategyFactory
extends Object

Factory class used to obtain the proper LockingStrategy for an Object.

Version:
$Id: LockStrategyFactory.java,v 1.1 2007-08-24 22:17:28 ewestfal Exp $
Author:
Thomas Mahler & David Dixon-Peugh

Method Summary
static int getIsolationLevel(Object obj)
          Deprecated. determines the isolationlevel of class c by evaluating the ClassDescriptor of obj.getClass().
static LockStrategy getStrategyFor(Object obj)
          Deprecated. obtains a LockStrategy for Object obj.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStrategyFor

public static LockStrategy getStrategyFor(Object obj)
Deprecated. 
obtains a LockStrategy for Object obj. The Strategy to be used is selected by evaluating the ClassDescriptor of obj.getClass().

Returns:
LockStrategy

getIsolationLevel

public static int getIsolationLevel(Object obj)
Deprecated. 
determines the isolationlevel of class c by evaluating the ClassDescriptor of obj.getClass().

Returns:
int the isolationlevel


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.