public class SpringTransactionCommandService extends Object implements CommandService, org.springframework.context.ApplicationContextAware
BEAN_ID| 构造器和说明 |
|---|
SpringTransactionCommandService() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
executeCommand(Command<T> command) |
<T> T |
executeCommandInNewTransaction(Command<T> command) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public <T> T executeCommand(Command<T> command)
executeCommand 在接口中 CommandServicepublic <T> T executeCommandInNewTransaction(Command<T> command)
executeCommandInNewTransaction 在接口中 CommandServicepublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2019 Bstek. All rights reserved.