public static TaskEngine getInstance() {
        return instance;
    }
Returns a task engine instance (singleton).

@return a task engine.
xmppserver/src/main/java/org/jivesoftware/util/TaskEngine.java