org.ehoffman.test.FileSystem Maven / Gradle / Ivy
package org.ehoffman.test;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import org.aopalliance.intercept.MethodInterceptor;
import org.ehoffman.test.aspects.FileSystemAdvice;
/**
* Describe resources that must be accessible on the file system.
* @author rex
*/
@Target({ METHOD, CONSTRUCTOR, FIELD })
@Retention(RUNTIME)
@Documented
public @interface FileSystem {
String[] resourceLocations() default { };
boolean dirtiesData() default false;
Class extends MethodInterceptor> IMPLEMENTED_BY() default FileSystemAdvice.class;
}