public Future < ActivityData > submit ( ActivityCallable callable ) throws ActivityException { logger . info ( "submitting activity to asynchronous EJB..." ) ; return new AsyncResult < ActivityData > ( callable . call ( ) ) ; }
Assigns the given activity to the asynchronous EJB for background execution .