org.aspectj.lang.annotation.Pointcut类的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.6k)|赞(0)|评价(0)|浏览(301)

本文整理了Java中org.aspectj.lang.annotation.Pointcut类的一些代码示例,展示了Pointcut类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Pointcut类的具体详情如下:
包路径:org.aspectj.lang.annotation.Pointcut
类名称: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) {
}

相关文章

Pointcut类方法