本文整理了Java中org.aspectj.lang.annotation.Pointcut
类的一些代码示例,展示了Pointcut
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Pointcut
类的具体详情如下:
包路径:org.aspectj.lang.annotation.Pointcut
类名称:Pointcut
暂无
代码示例来源:origin: ctripcorp/apollo
@Pointcut("execution(public * org.springframework.data.repository.Repository+.*(..))")
public void anyRepositoryMethod() {
}
代码示例来源:origin: macrozheng/mall
@Pointcut("execution(public * com.macro.mall.controller.*.*(..))")
public void BindingResult() {
}
代码示例来源:origin: macrozheng/mall
@Pointcut("execution(public * com.macro.mall.controller.*.*(..))")
public void webLog() {
}
代码示例来源:origin: weibocom/motan
@Pointcut("execution(* com.weibo.service.CommandService+.*(..))")
private void execCommandOperation() {
}
代码示例来源:origin: alibaba/Sentinel
@Pointcut("@annotation(com.alibaba.csp.sentinel.annotation.SentinelResource)")
public void sentinelResourceAnnotationPointcut() {
}
代码示例来源:origin: weibocom/motan
@Pointcut("execution(public * * (..))")
private void anyPublicOperation() {
}
代码示例来源:origin: knightliao/disconf
@Pointcut(value = "execution(public * *(..))")
public void anyPublicMethod() {
}
代码示例来源:origin: resilience4j/resilience4j
/**
* Method used as pointcut
*
* @param rateLimiter - matched annotation
*/
@Pointcut(value = "@within(rateLimiter) || @annotation(rateLimiter)", argNames = "rateLimiter")
public void matchAnnotatedClassOrMethod(RateLimiter rateLimiter) {
// Method used as pointcut
}
代码示例来源:origin: PipelineAI/pipeline
@Pointcut("@annotation(com.netflix.hystrix.contrib.javanica.cache.annotation.CacheRemove) && !@annotation(com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand)")
public void cacheRemoveAnnotationPointcut() {
}
代码示例来源:origin: yu199195/hmily
/**
* this is point cut with {@linkplain Hmily }.
*/
@Pointcut("@annotation(org.dromara.hmily.annotation.Hmily)")
public void hmilyInterceptor() {
}
代码示例来源:origin: PipelineAI/pipeline
@Pointcut("@annotation(com.netflix.hystrix.contrib.javanica.annotation.HystrixCollapser)")
public void hystrixCollapserAnnotationPointcut() {
}
代码示例来源:origin: PipelineAI/pipeline
@Pointcut("@annotation(com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand)")
public void hystrixCommandAnnotationPointcut() {
}
代码示例来源:origin: changmingxie/tcc-transaction
@Pointcut("@annotation(org.mengyun.tcctransaction.api.Compensable)")
public void compensableService() {
}
代码示例来源:origin: changmingxie/tcc-transaction
@Pointcut("@annotation(org.mengyun.tcctransaction.api.Compensable)")
public void transactionContextCall() {
}
代码示例来源:origin: codingapi/tx-lcn
/**
* 分布式事务切点描述
*/
@Pointcut("@annotation(com.codingapi.txlcn.commons.annotation.TxTransaction)")
public void txTransactionPointcut() {
}
代码示例来源:origin: codingapi/tx-lcn
/**
* 分布式事务切点描述 (Type of LCN)
*/
@Pointcut("@annotation(com.codingapi.txlcn.commons.annotation.LcnTransaction)")
public void lcnTransactionPointcut() {
}
代码示例来源:origin: codingapi/tx-lcn
/**
* 分布式事务切点描述 (Type of TCC)
*/
@Pointcut("@annotation(com.codingapi.txlcn.commons.annotation.TccTransaction)")
public void tccTransactionPointcut() {
}
代码示例来源:origin: JakeWharton/hugo
@Pointcut("within(@hugo.weaving.DebugLog *)")
public void withinAnnotatedClass() {}
代码示例来源:origin: codingapi/tx-lcn
/**
* 分布式事务切点描述 (Type of TXC)
*/
@Pointcut("@annotation(com.codingapi.txlcn.commons.annotation.TxcTransaction)")
public void txcTransactionPointcut() {
}
代码示例来源:origin: resilience4j/resilience4j
@Pointcut(value = "@within(circuitBreaker) || @annotation(circuitBreaker)", argNames = "circuitBreaker")
public void matchAnnotatedClassOrMethod(CircuitBreaker circuitBreaker) {
}
内容来源于网络,如有侵权,请联系作者删除!