org.apache.ojb.otm
Class TestKit

java.lang.Object
  extended byorg.apache.ojb.otm.OTMKit
      extended byorg.apache.ojb.otm.kit.SimpleKit
          extended byorg.apache.ojb.otm.TestKit
All Implemented Interfaces:
Kit

public class TestKit
extends SimpleKit

Author:
Oleg Nitz

Field Summary
 
Fields inherited from class org.apache.ojb.otm.kit.SimpleKit
_cloneableCopyStrategy, _defaultCopyStrategy, _lockMap, _lockWaitStrategy, _noOpCopyStrategy, _swizzlingStrategy, _txFactory
 
Constructor Summary
protected TestKit()
          Constructor for SimpleKit.
 
Method Summary
static TestKit getTestInstance()
           
 void setLockWaitStrategy(LockWaitStrategy lockWaitStrategy)
          This allows to test different LockWaitStrategies
 
Methods inherited from class org.apache.ojb.otm.kit.SimpleKit
getCopyStrategy, getInstance, getLockMap, getLockWaitStrategy, getSwizzlingStrategy, getTransactionFactory, isEagerInsert, isImplicitLockingUsed, isInsertVerified
 
Methods inherited from class org.apache.ojb.otm.OTMKit
acquireConnection, getTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestKit

protected TestKit()
Constructor for SimpleKit.

Method Detail

getTestInstance

public static TestKit getTestInstance()

setLockWaitStrategy

public void setLockWaitStrategy(LockWaitStrategy lockWaitStrategy)
This allows to test different LockWaitStrategies



Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14