/** * Create and start a new asynchronous task to execute {@link #invoker}. This method returns immediately whit always * null value and does not throw any exception. If underlying invoker execution fail for any reason the only option to * be notified is application logger. * * @param object instance on which method is invoked, * @param args invocation arguments. * @return always returns null. */ @Override public Object invoke(final Object object, final Object[] args) { AsyncTask<Void> asyncTask = new AsyncTask<Void>() { @Override protected Void execute() throws Throwable { AsyncInvoker.this.invoker.invoke(object, args); return null; } }; asyncTask.start(); return null; } }