Package net.mingsoft.basic.aop
Class BaseAop
java.lang.Object
net.mingsoft.basic.aop.BaseAop
- Direct Known Subclasses:
BaseLogAop,FileVerifyAop,ManagerPasswordAop,SaveOrUpdateAop
切面基础
- Version:
- 版本号:100-000-000
创建日期:2012-03-15
历史修订: - Author:
- ms dev group
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final <T extends Annotation>
TgetAnnotation(org.aspectj.lang.JoinPoint jp, Class<T> an) 是否存在注解,如果存在就获取protected final ObjectgetJsonParam(org.aspectj.lang.JoinPoint jp) 获取aop请求中所有请求参数protected final <T> T获取切面中的class 类protected final <T> T
-
Field Details
-
LOG
protected final org.slf4j.Logger LOG
-
-
Constructor Details
-
BaseAop
public BaseAop()
-
-
Method Details
-
getType
获取切面中的class 类- Parameters:
jp- 拦截对象clazz- class 类名- Returns:
- 类存在则返回类否则为null
-
getType
-
getJsonParam
获取aop请求中所有请求参数- Parameters:
jp-- Returns:
-
getAnnotation
是否存在注解,如果存在就获取
-