Package org.apache.ojb.broker.locking

Examples of org.apache.ojb.broker.locking.LockManager


    {
        long timeout = conf.getInteger("LockTimeout", 60000);
        log.info("LockTimeout=" + timeout);
        try
        {
            LockManager lm = (LockManager) ClassHelper.newInstance(lockManagerClass);
            lm.setLockTimeout(timeout);
            lockManager = new LockManagerOdmgImpl(lm);
        }
        catch(Exception e)
        {
            throw new OJBRuntimeException("Can't setup odmg lock manager instance", e);
View Full Code Here


    {
        long timeout = conf.getInteger("LockTimeout", 60000);
        log.info("LockTimeout=" + timeout);
        try
        {
            LockManager lm = (LockManager) ClassHelper.newInstance(lockManagerClass);
            lm.setLockTimeout(timeout);
            lockManager = new LockManagerOdmgImpl(lm);
        }
        catch(Exception e)
        {
            throw new OJBRuntimeException("Can't setup odmg lock manager instance", e);
View Full Code Here

TOP

Related Classes of org.apache.ojb.broker.locking.LockManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.