All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nico.aoc.scan.annotations.aspect.Section Maven / Gradle / Ivy

There is a newer version: 1.1.3
Show newest version
package org.nico.aoc.scan.annotations.aspect;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.nico.aoc.aspect.AspectProxy;
import org.nico.aoc.scan.entity.AspectType;

/** 
 * An annotation applied to a method that declares that the method is crosscutting
 * 
 * @author nico
 */

@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Section {
	
	/**
	 * Custom proxy class, which must implement {@link AspectProxy}
	 * 
	 * @return Proxy class
	 */
	Class proxyBy();
	
	
	AspectType type() default AspectType.CGLIB_PROXY;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy