/** * Notify the given command that a session has started. * @param command The {@link Command} to be notified. */ public static void notifyStartSession(Command command) { notify(command, LifecycleEvent.START_SESSION); }
/** * Notify the given command that a transaction has begun. * @param command The {@link Command} to be notified. */ public static void notifyBeginTransaction(Command command) { notify(command, LifecycleEvent.BEGIN_TRANSACTION); }
/** * Notify the given command that a transaction has begun. * @param command The {@link Command} to be notified. */ public static void notifyBeginTransaction(Command command) { notify(command, LifecycleEvent.BEGIN_TRANSACTION); }
/** * Notify the given command that a shutdown command has been issued. * @param command The {@link Command} to be notified. */ public static void notifyShutdown(Command command) { notify(command, LifecycleEvent.SHUTDOWN); }
/** * Notify the given command that a transaction has been committed. * @param command The {@link Command} to be notified. */ public static void notifyCommitTransaction(Command command) { notify(command, LifecycleEvent.COMMIT_TRANSACTION); }
/** * Notify the given command that a shutdown command has been issued. * @param command The {@link Command} to be notified. */ public static void notifyShutdown(Command command) { notify(command, LifecycleEvent.SHUTDOWN); }
/** * Notify the given command that a transaction has been rolled back. * @param command The {@link Command} to be notified. */ public static void notifyRollbackTransaction(Command command) { notify(command, LifecycleEvent.ROLLBACK_TRANSACTION); }
/** * Notify the given command that a transaction has been rolled back. * @param command The {@link Command} to be notified. */ public static void notifyRollbackTransaction(Command command) { notify(command, LifecycleEvent.ROLLBACK_TRANSACTION); }
/** * Notify the given command that a transaction has been committed. * @param command The {@link Command} to be notified. */ public static void notifyCommitTransaction(Command command) { notify(command, LifecycleEvent.COMMIT_TRANSACTION); }
/** * Notify the given command that a session has started. * @param command The {@link Command} to be notified. */ public static void notifyStartSession(Command command) { notify(command, LifecycleEvent.START_SESSION); }