//# 0 errors, 339 messages
//#
/*
    //#RollerTaskWithLeasing.java:1:1: class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.business.runnable;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.roller.weblogger.WebloggerException;
import org.apache.roller.weblogger.business.WebloggerFactory;


/**
 * An abstract class representing a scheduled task in Roller that will always
 * attempt to acquire a lease before doing its work.
 */
public abstract class RollerTaskWithLeasing extends RollerTask {
    //#RollerTaskWithLeasing.java:31: method: void org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing.org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing()
    //#input(void org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing()): this
    //#RollerTaskWithLeasing.java:31: end of method: void org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing.org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing()
    
    private static Log log = LogFactory.getLog(RollerTaskWithLeasing.class);
    //#RollerTaskWithLeasing.java:33: method: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing.org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init
    //#RollerTaskWithLeasing.java:33: Warning: method not available
    //#    -- call on Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init
    //#    unanalyzed callee: Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Descendant_Table[org/apache/roller/weblogger/business/runnable/RollerTaskWithLeasing]
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getAdjustedTime(Ljava/util/Date;Ljava/lang/String;)Ljava/util/Date;
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getClientId()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getInterval()I
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getLeaseTime()I
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getStartTime(Ljava/util/Date;)Ljava/util/Date;
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getStartTimeDesc()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getTaskProperties()Ljava/util/Properties;
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.init()V
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.run()V
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.runTask()V
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): log
    //#output(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[org/apache/roller/weblogger/business/runnable/RollerTaskWithLeasing]
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Descendant_Table[org/apache/roller/weblogger/business/runnable/RollerTaskWithLeasing] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[org/apache/roller/weblogger/business/runnable/RollerTaskWithLeasing] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getAdjustedTime(Ljava/util/Date;Ljava/lang/String;)Ljava/util/Date; == &org/apache/roller/weblogger/business/runnable/RollerTask.getAdjustedTime
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getClientId()Ljava/lang/String; == &org/apache/roller/weblogger/business/runnable/RollerTask.getClientId
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getInterval()I == &org/apache/roller/weblogger/business/runnable/RollerTask.getInterval
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getLeaseTime()I == &org/apache/roller/weblogger/business/runnable/RollerTask.getLeaseTime
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &org/apache/roller/weblogger/business/runnable/RollerTask.getName
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getStartTime(Ljava/util/Date;)Ljava/util/Date; == &org/apache/roller/weblogger/business/runnable/RollerTask.getStartTime
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getStartTimeDesc()Ljava/lang/String; == &org/apache/roller/weblogger/business/runnable/RollerTask.getStartTimeDesc
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.getTaskProperties()Ljava/util/Properties; == &org/apache/roller/weblogger/business/runnable/RollerTask.getTaskProperties
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.init()V == &org/apache/roller/weblogger/business/runnable/RollerTask.init
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.run()V == &run
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): __Dispatch_Table.runTask()V == &runTask
    //#post(org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init): init'ed(log)
    //#RollerTaskWithLeasing.java:33: end of method: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing.org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing__static_init
    
    
    /**
     * Run the task.
     */
    public abstract void runTask() throws WebloggerException;
    
    
    /**
     * The run() method as called by our thread manager.
     *
     * This method is purposely defined as "final" so that any tasks that are
     * defined may not override it and remove any of its functionality.  It is
     * setup to provide some basic functionality to the running of all tasks,
     * such as lease acquisition and releasing.
     *
     * Roller tasks should put their logic in the runTask() method.
     */
    public final void run() {
        
        ThreadManager mgr = WebloggerFactory.getWeblogger().getThreadManager();
    //#RollerTaskWithLeasing.java:54: method: void org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing.run()
    //#RollerTaskWithLeasing.java:54: Warning: suspicious precondition
    //#    the precondition for org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    suspicious precondition index: [3]
    //#RollerTaskWithLeasing.java:54: Warning: suspicious precondition
    //#    the precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    suspicious precondition index: [10]
    //#input(void run()): ": Attempting to acquire lease"._tainted
    //#input(void run()): ": Attempting to release lease"._tainted
    //#input(void run()): ": Lease NOT acquired, cannot continue"._tainted
    //#input(void run()): ": Lease NOT released, some kind of problem"._tainted
    //#input(void run()): ": Lease acquired, running task"._tainted
    //#input(void run()): ": Lease released, task finished"._tainted
    //#input(void run()): ": Unexpected exception"._tainted
    //#input(void run()): "Attempting to register lease for task - "._tainted
    //#input(void run()): "Cannot acquire lease when no tasklock record exists for task - "._tainted
    //#input(void run()): "PingQueueTask"._tainted
    //#input(void run()): "ResetHitCountsTask"._tainted
    //#input(void run()): "ScheduledEntriesTask"._tainted
    //#input(void run()): "TurnoverReferersTask"._tainted
    //#input(void run()): "last acquired = "._tainted
    //#input(void run()): "last run = "._tainted
    //#input(void run()): "lease expiration = "._tainted
    //#input(void run()): "new run time = "._tainted
    //#input(void run()): "time leased = "._tainted
    //#input(void run()): __Descendant_Table[org/apache/roller/weblogger/business/pings/PingQueueTask]
    //#input(void run()): __Descendant_Table[org/apache/roller/weblogger/business/runnable/ResetHitCountsTask]
    //#input(void run()): __Descendant_Table[org/apache/roller/weblogger/business/runnable/RollerTaskWithLeasing]
    //#input(void run()): __Descendant_Table[org/apache/roller/weblogger/business/runnable/ScheduledEntriesTask]
    //#input(void run()): __Descendant_Table[org/apache/roller/weblogger/business/runnable/TurnoverReferersTask]
    //#input(void run()): __Descendant_Table[others]
    //#input(void run()): __Dispatch_Table.getClientId()Ljava/lang/String;
    //#input(void run()): __Dispatch_Table.getLeaseTime()I
    //#input(void run()): __Dispatch_Table.getName()Ljava/lang/String;
    //#input(void run()): __Dispatch_Table.getStartTimeDesc()Ljava/lang/String;
    //#input(void run()): __Dispatch_Table.runTask()V
    //#input(void run()): log
    //#input(void run()): org/apache/roller/weblogger/business/BookmarkManager.__Descendant_Table[org/apache/roller/weblogger/business/BookmarkManager]
    //#input(void run()): org/apache/roller/weblogger/business/BookmarkManager.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPABookmarkManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/BookmarkManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/BookmarkManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/FileManager.__Descendant_Table[org/apache/roller/weblogger/business/FileManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/FileManager.__Descendant_Table[org/apache/roller/weblogger/business/FileManager]
    //#input(void run()): org/apache/roller/weblogger/business/FileManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/FileManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/FileManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/GuiceWebloggerProvider.__Dispatch_Table.getWeblogger()Lorg/apache/roller/weblogger/business/Weblogger;
    //#input(void run()): org/apache/roller/weblogger/business/UserManager.__Descendant_Table[org/apache/roller/weblogger/business/UserManager]
    //#input(void run()): org/apache/roller/weblogger/business/UserManager.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAUserManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/UserManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/UserManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/WeblogManager.__Descendant_Table[org/apache/roller/weblogger/business/WeblogManager]
    //#input(void run()): org/apache/roller/weblogger/business/WeblogManager.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAWeblogManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/WeblogManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/WeblogManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/Weblogger.__Descendant_Table[org/apache/roller/weblogger/business/WebloggerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/Weblogger.__Descendant_Table[org/apache/roller/weblogger/business/Weblogger]
    //#input(void run()): org/apache/roller/weblogger/business/Weblogger.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAWebloggerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/Weblogger.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/Weblogger.__Dispatch_Table.getThreadManager()Lorg/apache/roller/weblogger/business/runnable/ThreadManager;
    //#input(void run()): org/apache/roller/weblogger/business/Weblogger.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.autoPingManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.autoPingManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.bookmarkManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.bookmarkManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.fileManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.fileManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.pingQueueManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.pingQueueManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.pingTargetManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.pingTargetManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.pluginManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.pluginManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.refererManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.refererManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.strategy
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.strategy.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.strategy.emf
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.strategy.threadLocalEntityManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.threadManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.threadManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.threadManager.strategy
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.threadManager.strategy.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.threadManager.strategy.emf
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.threadManager.strategy.threadLocalEntityManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.userManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.userManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.weblogManager
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance.weblogManager.__Tag
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerImpl.__Dispatch_Table.getThreadManager()Lorg/apache/roller/weblogger/business/runnable/ThreadManager;
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerImpl.log
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerProvider.__Descendant_Table[org/apache/roller/weblogger/business/GuiceWebloggerProvider]
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerProvider.__Descendant_Table[org/apache/roller/weblogger/business/WebloggerProvider]
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerProvider.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/WebloggerProvider.__Dispatch_Table.getWeblogger()Lorg/apache/roller/weblogger/business/Weblogger;
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAAutoPingManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPABookmarkManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAPersistenceStrategy.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAPersistenceStrategy]
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAPersistenceStrategy.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAPersistenceStrategy.__Dispatch_Table.getNamedQuery(Ljava/lang/String;)Ljavax/persistence/Query;
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAPersistenceStrategy.__Dispatch_Table.getNamedUpdate(Ljava/lang/String;)Ljavax/persistence/Query;
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAPersistenceStrategy.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAPersistenceStrategy.javax.persistence.FlushModeType.COMMIT
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAPingQueueManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAPingTargetManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPARefererManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl.__Dispatch_Table.getTaskLockByName(Ljava/lang/String;)Lorg/apache/roller/weblogger/pojos/TaskLock;
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl.__Dispatch_Table.registerLease(Lorg/apache/roller/weblogger/business/runnable/RollerTask;)Z
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl.__Dispatch_Table.unregisterLease(Lorg/apache/roller/weblogger/business/runnable/RollerTask;)Z
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl.log
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAUserManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAWeblogManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAWebloggerImpl.__Dispatch_Table.getThreadManager()Lorg/apache/roller/weblogger/business/runnable/ThreadManager;
    //#input(void run()): org/apache/roller/weblogger/business/jpa/JPAWebloggerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/pings/AutoPingManager.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAAutoPingManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/pings/AutoPingManager.__Descendant_Table[org/apache/roller/weblogger/business/pings/AutoPingManager]
    //#input(void run()): org/apache/roller/weblogger/business/pings/AutoPingManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/pings/AutoPingManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueManager.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAPingQueueManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueManager.__Descendant_Table[org/apache/roller/weblogger/business/pings/PingQueueManager]
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueTask.__Dispatch_Table.getClientId()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueTask.__Dispatch_Table.getLeaseTime()I
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueTask.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueTask.__Dispatch_Table.getStartTimeDesc()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingQueueTask.__Dispatch_Table.runTask()V
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingTargetManager.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAPingTargetManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingTargetManager.__Descendant_Table[org/apache/roller/weblogger/business/pings/PingTargetManager]
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingTargetManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/pings/PingTargetManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/plugins/PluginManager.__Descendant_Table[org/apache/roller/weblogger/business/plugins/PluginManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/plugins/PluginManager.__Descendant_Table[org/apache/roller/weblogger/business/plugins/PluginManager]
    //#input(void run()): org/apache/roller/weblogger/business/plugins/PluginManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/plugins/PluginManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/plugins/PluginManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/referrers/RefererManager.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPARefererManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/referrers/RefererManager.__Descendant_Table[org/apache/roller/weblogger/business/referrers/RefererManager]
    //#input(void run()): org/apache/roller/weblogger/business/referrers/RefererManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/referrers/RefererManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ResetHitCountsTask.__Dispatch_Table.getClientId()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ResetHitCountsTask.__Dispatch_Table.getLeaseTime()I
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ResetHitCountsTask.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ResetHitCountsTask.__Dispatch_Table.getStartTimeDesc()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ResetHitCountsTask.__Dispatch_Table.runTask()V
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[org/apache/roller/weblogger/business/pings/PingQueueTask]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[org/apache/roller/weblogger/business/runnable/ResetHitCountsTask]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[org/apache/roller/weblogger/business/runnable/RollerTaskWithLeasing]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[org/apache/roller/weblogger/business/runnable/RollerTask]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[org/apache/roller/weblogger/business/runnable/ScheduledEntriesTask]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[org/apache/roller/weblogger/business/runnable/TurnoverReferersTask]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Dispatch_Table.getClientId()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Dispatch_Table.getLeaseTime()I
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/RollerTask.__Dispatch_Table.getStartTimeDesc()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ScheduledEntriesTask.__Dispatch_Table.getClientId()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ScheduledEntriesTask.__Dispatch_Table.getLeaseTime()I
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ScheduledEntriesTask.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ScheduledEntriesTask.__Dispatch_Table.getStartTimeDesc()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ScheduledEntriesTask.__Dispatch_Table.runTask()V
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManager.__Descendant_Table[org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManager.__Descendant_Table[org/apache/roller/weblogger/business/runnable/ThreadManagerImpl]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManager.__Descendant_Table[org/apache/roller/weblogger/business/runnable/ThreadManager]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManager.__Descendant_Table[others]
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManager.__Dispatch_Table.registerLease(Lorg/apache/roller/weblogger/business/runnable/RollerTask;)Z
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManager.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManager.__Dispatch_Table.unregisterLease(Lorg/apache/roller/weblogger/business/runnable/RollerTask;)Z
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManagerImpl.__Dispatch_Table.registerLease(Lorg/apache/roller/weblogger/business/runnable/RollerTask;)Z
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManagerImpl.__Dispatch_Table.release()V
    //#input(void run()): org/apache/roller/weblogger/business/runnable/ThreadManagerImpl.__Dispatch_Table.unregisterLease(Lorg/apache/roller/weblogger/business/runnable/RollerTask;)Z
    //#input(void run()): org/apache/roller/weblogger/business/runnable/TurnoverReferersTask.__Dispatch_Table.getClientId()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/TurnoverReferersTask.__Dispatch_Table.getLeaseTime()I
    //#input(void run()): org/apache/roller/weblogger/business/runnable/TurnoverReferersTask.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/TurnoverReferersTask.__Dispatch_Table.getStartTimeDesc()Ljava/lang/String;
    //#input(void run()): org/apache/roller/weblogger/business/runnable/TurnoverReferersTask.__Dispatch_Table.runTask()V
    //#input(void run()): this
    //#input(void run()): this.__Tag
    //#pre[1] (void run()): log != null
    //#pre[2] (void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider != null
    //#pre[3] (void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.__Tag in {org/apache/roller/weblogger/business/GuiceWebloggerProvider, org/apache/roller/weblogger/business/WebloggerProvider}
    //#pre[4] (void run()): org/apache/roller/weblogger/business/WebloggerFactory.webloggerProvider.webloggerInstance != null
    //#pre[10] (void run()): this.__Tag in {org/apache/roller/weblogger/business/pings/PingQueueTask, org/apache/roller/weblogger/business/runnable/ResetHitCountsTask, org/apache/roller/weblogger/business/runnable/RollerTaskWithLeasing, org/apache/roller/weblogger/business/runnable/ScheduledEntriesTask, org/apache/roller/weblogger/business/runnable/TurnoverReferersTask}
    //#pre[5] (void run()): (soft) org/apache/roller/weblogger/business/WebloggerImpl.log != null
    //#presumption(void run()): getWeblogger(...).__Tag in {org/apache/roller/weblogger/business/Weblogger, org/apache/roller/weblogger/business/WebloggerImpl, org/apache/roller/weblogger/business/jpa/JPAWebloggerImpl}
    //#presumption(void run()): getWeblogger(...).__Tag in {org/apache/roller/weblogger/business/Weblogger, org/apache/roller/weblogger/business/WebloggerImpl, org/apache/roller/weblogger/business/jpa/JPAWebloggerImpl}
    //#presumption(void run()): getWeblogger(...).__Tag in {org/apache/roller/weblogger/business/Weblogger, org/apache/roller/weblogger/business/WebloggerImpl, org/apache/roller/weblogger/business/jpa/JPAWebloggerImpl}
    //#presumption(void run()): getWeblogger(...).__Tag in {org/apache/roller/weblogger/business/Weblogger, org/apache/roller/weblogger/business/WebloggerImpl, org/apache/roller/weblogger/business/jpa/JPAWebloggerImpl}
    //#presumption(void run()): getWeblogger(...).autoPingManager != null
    //#presumption(void run()): getWeblogger(...).autoPingManager != null
    //#presumption(void run()): getWeblogger(...).autoPingManager != null
    //#presumption(void run()): getWeblogger(...).autoPingManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAAutoPingManagerImpl, org/apache/roller/weblogger/business/pings/AutoPingManager}
    //#presumption(void run()): getWeblogger(...).autoPingManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAAutoPingManagerImpl, org/apache/roller/weblogger/business/pings/AutoPingManager}
    //#presumption(void run()): getWeblogger(...).autoPingManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAAutoPingManagerImpl, org/apache/roller/weblogger/business/pings/AutoPingManager}
    //#presumption(void run()): getWeblogger(...).bookmarkManager != null
    //#presumption(void run()): getWeblogger(...).bookmarkManager != null
    //#presumption(void run()): getWeblogger(...).bookmarkManager != null
    //#presumption(void run()): getWeblogger(...).bookmarkManager.__Tag in {org/apache/roller/weblogger/business/BookmarkManager, org/apache/roller/weblogger/business/jpa/JPABookmarkManagerImpl}
    //#presumption(void run()): getWeblogger(...).bookmarkManager.__Tag in {org/apache/roller/weblogger/business/BookmarkManager, org/apache/roller/weblogger/business/jpa/JPABookmarkManagerImpl}
    //#presumption(void run()): getWeblogger(...).bookmarkManager.__Tag in {org/apache/roller/weblogger/business/BookmarkManager, org/apache/roller/weblogger/business/jpa/JPABookmarkManagerImpl}
    //#presumption(void run()): getWeblogger(...).fileManager != null
    //#presumption(void run()): getWeblogger(...).fileManager != null
    //#presumption(void run()): getWeblogger(...).fileManager != null
    //#presumption(void run()): getWeblogger(...).fileManager.__Tag in {org/apache/roller/weblogger/business/FileManager, org/apache/roller/weblogger/business/FileManagerImpl}
    //#presumption(void run()): getWeblogger(...).fileManager.__Tag in {org/apache/roller/weblogger/business/FileManager, org/apache/roller/weblogger/business/FileManagerImpl}
    //#presumption(void run()): getWeblogger(...).fileManager.__Tag in {org/apache/roller/weblogger/business/FileManager, org/apache/roller/weblogger/business/FileManagerImpl}
    //#presumption(void run()): getWeblogger(...).pingQueueManager != null
    //#presumption(void run()): getWeblogger(...).pingQueueManager != null
    //#presumption(void run()): getWeblogger(...).pingQueueManager != null
    //#presumption(void run()): getWeblogger(...).pingQueueManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAPingQueueManagerImpl, org/apache/roller/weblogger/business/pings/PingQueueManager}
    //#presumption(void run()): getWeblogger(...).pingQueueManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAPingQueueManagerImpl, org/apache/roller/weblogger/business/pings/PingQueueManager}
    //#presumption(void run()): getWeblogger(...).pingQueueManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAPingQueueManagerImpl, org/apache/roller/weblogger/business/pings/PingQueueManager}
    //#presumption(void run()): getWeblogger(...).pingTargetManager != null
    //#presumption(void run()): getWeblogger(...).pingTargetManager != null
    //#presumption(void run()): getWeblogger(...).pingTargetManager != null
    //#presumption(void run()): getWeblogger(...).pingTargetManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAPingTargetManagerImpl, org/apache/roller/weblogger/business/pings/PingTargetManager}
    //#presumption(void run()): getWeblogger(...).pingTargetManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAPingTargetManagerImpl, org/apache/roller/weblogger/business/pings/PingTargetManager}
    //#presumption(void run()): getWeblogger(...).pingTargetManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAPingTargetManagerImpl, org/apache/roller/weblogger/business/pings/PingTargetManager}
    //#presumption(void run()): getWeblogger(...).pluginManager != null
    //#presumption(void run()): getWeblogger(...).pluginManager != null
    //#presumption(void run()): getWeblogger(...).pluginManager != null
    //#presumption(void run()): getWeblogger(...).pluginManager.__Tag in {org/apache/roller/weblogger/business/plugins/PluginManager, org/apache/roller/weblogger/business/plugins/PluginManagerImpl}
    //#presumption(void run()): getWeblogger(...).pluginManager.__Tag in {org/apache/roller/weblogger/business/plugins/PluginManager, org/apache/roller/weblogger/business/plugins/PluginManagerImpl}
    //#presumption(void run()): getWeblogger(...).pluginManager.__Tag in {org/apache/roller/weblogger/business/plugins/PluginManager, org/apache/roller/weblogger/business/plugins/PluginManagerImpl}
    //#presumption(void run()): getWeblogger(...).refererManager != null
    //#presumption(void run()): getWeblogger(...).refererManager != null
    //#presumption(void run()): getWeblogger(...).refererManager != null
    //#presumption(void run()): getWeblogger(...).refererManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPARefererManagerImpl, org/apache/roller/weblogger/business/referrers/RefererManager}
    //#presumption(void run()): getWeblogger(...).refererManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPARefererManagerImpl, org/apache/roller/weblogger/business/referrers/RefererManager}
    //#presumption(void run()): getWeblogger(...).refererManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPARefererManagerImpl, org/apache/roller/weblogger/business/referrers/RefererManager}
    //#presumption(void run()): getWeblogger(...).threadManager != null
    //#presumption(void run()): getWeblogger(...).threadManager != null
    //#presumption(void run()): getWeblogger(...).threadManager != null
    //#presumption(void run()): getWeblogger(...).threadManager != null
    //#presumption(void run()): getWeblogger(...).threadManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl, org/apache/roller/weblogger/business/runnable/ThreadManager, org/apache/roller/weblogger/business/runnable/ThreadManagerImpl}
    //#presumption(void run()): getWeblogger(...).threadManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl, org/apache/roller/weblogger/business/runnable/ThreadManager, org/apache/roller/weblogger/business/runnable/ThreadManagerImpl}
    //#presumption(void run()): getWeblogger(...).threadManager.__Tag in {org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl, org/apache/roller/weblogger/business/runnable/ThreadManager, org/apache/roller/weblogger/business/runnable/ThreadManagerImpl}
    //#presumption(void run()): getWeblogger(...).userManager != null
    //#presumption(void run()): getWeblogger(...).userManager != null
    //#presumption(void run()): getWeblogger(...).userManager != null
    //#presumption(void run()): getWeblogger(...).userManager.__Tag in {org/apache/roller/weblogger/business/UserManager, org/apache/roller/weblogger/business/jpa/JPAUserManagerImpl}
    //#presumption(void run()): getWeblogger(...).userManager.__Tag in {org/apache/roller/weblogger/business/UserManager, org/apache/roller/weblogger/business/jpa/JPAUserManagerImpl}
    //#presumption(void run()): getWeblogger(...).userManager.__Tag in {org/apache/roller/weblogger/business/UserManager, org/apache/roller/weblogger/business/jpa/JPAUserManagerImpl}
    //#presumption(void run()): getWeblogger(...).weblogManager != null
    //#presumption(void run()): getWeblogger(...).weblogManager != null
    //#presumption(void run()): getWeblogger(...).weblogManager != null
    //#presumption(void run()): getWeblogger(...).weblogManager.__Tag in {org/apache/roller/weblogger/business/WeblogManager, org/apache/roller/weblogger/business/jpa/JPAWeblogManagerImpl}
    //#presumption(void run()): getWeblogger(...).weblogManager.__Tag in {org/apache/roller/weblogger/business/WeblogManager, org/apache/roller/weblogger/business/jpa/JPAWeblogManagerImpl}
    //#presumption(void run()): getWeblogger(...).weblogManager.__Tag in {org/apache/roller/weblogger/business/WeblogManager, org/apache/roller/weblogger/business/jpa/JPAWeblogManagerImpl}
    //#presumption(void run()): mgr.__Tag in {org/apache/roller/weblogger/business/jpa/JPAThreadManagerImpl, org/apache/roller/weblogger/business/runnable/ThreadManager, org/apache/roller/weblogger/business/runnable/ThreadManagerImpl}
    //#unanalyzed(void run()): Effects-of-calling:getName
    //#unanalyzed(void run()): Effects-of-calling:java.lang.ThreadLocal:get
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.EntityManagerFactory:createEntityManager
    //#unanalyzed(void run()): Effects-of-calling:java.lang.ThreadLocal:set
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.EntityManager:getTransaction
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.EntityTransaction:isActive
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.EntityTransaction:begin
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.EntityManager:createNamedQuery
    //#unanalyzed(void run()): Effects-of-calling:getWeblogger
    //#unanalyzed(void run()): Effects-of-calling:org.apache.commons.logging.Log:debug
    //#unanalyzed(void run()): Effects-of-calling:getTaskLockByName
    //#unanalyzed(void run()): Effects-of-calling:java.lang.Integer:valueOf
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.Query:setParameter
    //#unanalyzed(void run()): Effects-of-calling:getClientId
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.Query:executeUpdate
    //#unanalyzed(void run()): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(void run()): Effects-of-calling:org.apache.commons.logging.Log:warn
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.Query:setFlushMode
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.Query:getSingleResult
    //#unanalyzed(void run()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void run()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void run()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void run()): Effects-of-calling:java.util.Date
    //#unanalyzed(void run()): Effects-of-calling:org.apache.roller.weblogger.pojos.TaskLock:getLeaseExpiration
    //#unanalyzed(void run()): Effects-of-calling:getStartTimeDesc
    //#unanalyzed(void run()): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(void run()): Effects-of-calling:org.apache.roller.util.DateUtil:getStartOfDay
    //#unanalyzed(void run()): Effects-of-calling:org.apache.roller.util.DateUtil:getStartOfHour
    //#unanalyzed(void run()): Effects-of-calling:org.apache.roller.util.DateUtil:getStartOfMinute
    //#unanalyzed(void run()): Effects-of-calling:org.apache.commons.logging.Log:isDebugEnabled
    //#unanalyzed(void run()): Effects-of-calling:org.apache.roller.weblogger.pojos.TaskLock:getLastRun
    //#unanalyzed(void run()): Effects-of-calling:org.apache.roller.weblogger.pojos.TaskLock:getTimeAquired
    //#unanalyzed(void run()): Effects-of-calling:org.apache.roller.weblogger.pojos.TaskLock:getTimeLeased
    //#unanalyzed(void run()): Effects-of-calling:getLeaseTime
    //#unanalyzed(void run()): Effects-of-calling:java.util.Date:getTime
    //#unanalyzed(void run()): Effects-of-calling:java.sql.Timestamp
    //#unanalyzed(void run()): Effects-of-calling:release
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.EntityTransaction:rollback
    //#unanalyzed(void run()): Effects-of-calling:javax.persistence.EntityManager:close
    //#unanalyzed(void run()): Effects-of-calling:org.apache.commons.logging.Log:error
        
        boolean lockAcquired = false;
        try {
            log.debug(getName()+": Attempting to acquire lease");
    //#RollerTaskWithLeasing.java:58: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:debug(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:debug(Object)
            
            lockAcquired = mgr.registerLease(this);
            
            // now if we have a lock then run the task
            if(lockAcquired) {
                log.debug(getName()+": Lease acquired, running task");
    //#RollerTaskWithLeasing.java:64: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:debug(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:debug(Object)
                this.runTask();
    //#RollerTaskWithLeasing.java:65: Warning: call too complex - analysis skipped
    //#    -- call on void runTask()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    unanalyzed callee: void runTask()
            } else {
                log.debug(getName()+": Lease NOT acquired, cannot continue");
    //#RollerTaskWithLeasing.java:67: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:debug(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:debug(Object)
                return;
            }
            
        } catch (Exception ex) {
            log.error(getName()+": Unexpected exception", ex);
    //#RollerTaskWithLeasing.java:72: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:error(Object, Throwable)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:error(Object, Throwable)
        } finally {
            
            if(lockAcquired) {
                
                log.debug(getName()+": Attempting to release lease");
    //#RollerTaskWithLeasing.java:77: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:debug(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:debug(Object)
                
                boolean lockReleased = mgr.unregisterLease(this);
                
                if(lockReleased) {
                    log.debug(getName()+": Lease released, task finished");
    //#RollerTaskWithLeasing.java:82: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:debug(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:debug(Object)
                } else {
                    log.debug(getName()+": Lease NOT released, some kind of problem");
    //#RollerTaskWithLeasing.java:84: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:debug(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#    method: void run()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:debug(Object)
                }
            }
            
            // always release Roller session
            WebloggerFactory.getWeblogger().release();
        }
        
    }
    //#RollerTaskWithLeasing.java:92: end of method: void org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing.run()
    
}
    //#RollerTaskWithLeasing.java:: end of class: org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
