public static void accountLocked(LockOutFlag flag) {
        if (!listeners.isEmpty()) {
            for (LockOutEventListener listener : listeners) {
                try {
                    listener.accountLocked(flag);     
                } catch (Exception e) {
                    Log.warn("An exception occurred while dispatching a 'accountLocked' event!", e);
                }
            }
        }
    }
Notifies the listeners that an account was just set to be disabled/locked out.

@param flag The LockOutFlag that was set, which includes the username of the account and start/end times.
xmppserver/src/main/java/org/jivesoftware/openfire/lockout/LockOutEventDispatcher.java