public void lock( Object object )
throws LockNotGrantedException, ObjectNotPersistentException,
TransactionNotInProgressException, PersistenceException
{
if ( _ctx == null || ! _ctx.isOpen() )
throw new TransactionNotInProgressException( Messages.message( "jdo.txNotInProgress" ) );
_ctx.writeLock( object, _lockTimeout );
}