public class CommandExecutorImpl extends Object implements CommandExecutor, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
CommandExecutorImpl(javax.validation.Validator validator) |
| Modifier and Type | Method and Description |
|---|---|
<R,T> reactor.core.publisher.Mono<T> |
execute(Class<? extends Command<R,T>> commandClass,
R request)
Execute mono command
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public CommandExecutorImpl(javax.validation.Validator validator)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic <R,T> reactor.core.publisher.Mono<T> execute(Class<? extends Command<R,T>> commandClass, R request)
CommandExecutorexecute in interface CommandExecutorR - request typeT - result typecommandClass - command classrequest - command requestCopyright © 2021. All rights reserved.