public class OperationLogAspectSupport extends Object implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.SmartInitializingSingleton
| Modifier and Type | Class and Description |
|---|---|
protected class |
OperationLogAspectSupport.LogOperationContext |
protected static class |
OperationLogAspectSupport.LogOperationMetadata |
| Constructor and Description |
|---|
OperationLogAspectSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSingletonsInstantiated() |
protected OperationLogAspectSupport.LogOperationContext |
createLogOperationContext(OperationLogParam operation,
Method method,
Object[] args,
Object target,
Class<?> targetClass) |
protected cn.hangsman.operationlog.interceptor.OperationLogInvoker |
execute(cn.hangsman.operationlog.interceptor.OperationLogInvoker invoker,
Object target,
Method method,
Object[] args) |
protected OperationLogAspectSupport.LogOperationMetadata |
getLogOperationMetadata(OperationLogParam operation,
Method method,
Class<?> targetClass) |
protected boolean |
invoke(cn.hangsman.operationlog.interceptor.OperationLogInvoker invoker,
org.springframework.expression.EvaluationContext evaluationContext) |
protected void |
recordLog(OperationLogAspectSupport.LogOperationContext operationContext,
boolean invokeSuccess,
Date operationTime) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
protected cn.hangsman.operationlog.interceptor.OperationLogInvoker execute(cn.hangsman.operationlog.interceptor.OperationLogInvoker invoker,
Object target,
Method method,
Object[] args)
protected boolean invoke(cn.hangsman.operationlog.interceptor.OperationLogInvoker invoker,
org.springframework.expression.EvaluationContext evaluationContext)
protected void recordLog(OperationLogAspectSupport.LogOperationContext operationContext, boolean invokeSuccess, Date operationTime)
protected OperationLogAspectSupport.LogOperationContext createLogOperationContext(OperationLogParam operation, Method method, Object[] args, Object target, Class<?> targetClass)
protected OperationLogAspectSupport.LogOperationMetadata getLogOperationMetadata(OperationLogParam operation, Method method, Class<?> targetClass)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingletonCopyright © 2022. All rights reserved.