Code example for AbstractPointcutAdvisor

2
	private TideDataPublishingInterceptor dataPublishingInterceptor; 
 
	private final TideDataPublishingPointcut pointcut = new TideDataPublishingPointcut(); 
 
 
	public TideDataPublishingAdvisor() { 
		pointcut.setClassFilter(new AnnotationClassFilter(DataEnabled.class)); 
	} 
 
	public TideDataPublishingAdvisor(TideDataPublishingInterceptor interceptor) { 
		setDataPublishingInterceptor(interceptor); 
	} 
 
	public void setDataPublishingInterceptor(TideDataPublishingInterceptor interceptor) { 
		this.dataPublishingInterceptor = interceptor; 
	} 
 
 
	public Advice getAdvice() { 
		return this.dataPublishingInterceptor; 
Contextual code suggestions in your IDE  Get Codota for Java