public < T extends IEntity > void addAsync ( T entity , CallbackHandler callbackHandler ) throws FMSException { IntuitMessage intuitMessage = prepareAdd ( entity ) ; //set callback handler intuitMessage . getRequestElements ( ) . setCallbackHandler ( callbackHandler ) ; //execute async interceptors executeAsyncInterceptors ( intuitMessage ) ; }
Method to add the given entity in asynchronous fashion