public class TransactionInterceptorImpl extends Object implements TransactionInterceptor, TransactionBeanFactoryAware
| 限定符和类型 | 字段和说明 |
|---|---|
protected TransactionBeanFactory |
beanFactory |
BEAN_FACTORY_FIELD_NAME| 构造器和说明 |
|---|
TransactionInterceptorImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterReceiveRequest(TransactionRequest request) |
void |
afterReceiveResponse(TransactionResponse response) |
void |
beforeSendRequest(TransactionRequest request) |
void |
beforeSendResponse(TransactionResponse response) |
TransactionBeanFactory |
getBeanFactory() |
void |
setBeanFactory(TransactionBeanFactory tbf) |
@Inject protected TransactionBeanFactory beanFactory
public void beforeSendRequest(TransactionRequest request) throws IllegalStateException
beforeSendRequest 在接口中 TransactionInterceptorIllegalStateExceptionpublic void beforeSendResponse(TransactionResponse response) throws IllegalStateException
beforeSendResponse 在接口中 TransactionInterceptorIllegalStateExceptionpublic void afterReceiveRequest(TransactionRequest request) throws IllegalStateException
afterReceiveRequest 在接口中 TransactionInterceptorIllegalStateExceptionpublic void afterReceiveResponse(TransactionResponse response) throws IllegalStateException
afterReceiveResponse 在接口中 TransactionInterceptorIllegalStateExceptionpublic TransactionBeanFactory getBeanFactory()
getBeanFactory 在接口中 TransactionBeanFactoryAwarepublic void setBeanFactory(TransactionBeanFactory tbf)
setBeanFactory 在接口中 TransactionBeanFactoryAwareCopyright © 2018. All rights reserved.