code: @Override
    @SuppressWarnings("unchecked")
    public void stateChanged(Enum oldState, Enum newState) {
      logger.info("Diameter ACC SessionFactory :: stateChanged :: oldState[{}], newState[{}]", oldState, newState);
    }
docs: ----------------------------------------------------