| |
|
| java.lang.Object org.apache.ojb.odmg.locking.LockStrategyFactory
LockStrategyFactory | public class LockStrategyFactory (Code) | | Factory class used to obtain the proper LockingStrategy for an Object.
author: Thomas Mahler & David Dixon-Peugh version: $Id: LockStrategyFactory.java,v 1.13.2.4 2005/12/21 22:29:51 tomdz Exp $ |
Inner Class :static class NOOPStrategy implements LockStrategy | |
getIsolationLevel | public static int getIsolationLevel(Object obj)(Code) | | determines the isolationlevel of class c by evaluating
the ClassDescriptor of obj.getClass().
int the isolationlevel |
getStrategyFor | public static LockStrategy getStrategyFor(Object obj)(Code) | | obtains a LockStrategy for Object obj. The Strategy to be used is
selected by evaluating the ClassDescriptor of obj.getClass().
LockStrategy |
|
|
|