org.apache.activemq.artemis.core.server.ActivateCallback

Here are the examples of the java api class org.apache.activemq.artemis.core.server.ActivateCallback taken from open source projects.

1. ActiveMQServerImpl#callDeActiveCallbacks()

View license
private void callDeActiveCallbacks() {
    for (ActivateCallback callback : activateCallbacks) {
        try {
            callback.deActivate();
        } catch (Throwable e) {
            ActiveMQServerLogger.LOGGER.warn(e.getMessage(), e);
        }
    }
}

2. ActiveMQServerImpl#callActivateCallbacks()

View license
private void callActivateCallbacks() {
    for (ActivateCallback callback : activateCallbacks) {
        callback.activated();
    }
}

3. ActiveMQServerImpl#callPreActiveCallbacks()

View license
private void callPreActiveCallbacks() {
    for (ActivateCallback callback : activateCallbacks) {
        callback.preActivate();
    }
}

4. ActiveMQServerImpl#callActivationCompleteCallbacks()

View license
private void callActivationCompleteCallbacks() {
    for (ActivateCallback callback : activateCallbacks) {
        callback.activationComplete();
    }
}