code: @CheckForNull
      private Object executeSyncMethod(Method method, Object[] args) throws ApplicationException {
          if (preparingForShutdown.get()) {
              throw new JoynrIllegalStateException("Preparing for shutdown. Only stateless methods can be called.");
          }
          return executeMethodWithCaller(method, args, new ConnectorCaller() {
              @Override
              public Object call(Method method, Object[] args) throws ApplicationException {
                  return connector.executeSyncMethod(method, args);
              }
          });
      }
docs: executeSyncMethod is called whenever a method of the synchronous interface which is provided by the proxy is
  called. The ProxyInvocationHandler will check the arbitration status before the call is delegated to the
  connector. If the arbitration is still in progress the synchronous call will block until the arbitration was
  successful or the timeout elapsed.
  
  @throws ApplicationException
  
  @see java.lang.reflect.InvocationHandler#invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])