Skip to content
Snippets Groups Projects
IoExecutor.java 572 B
Newer Older
package org.briarproject.api.lifecycle;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import com.google.inject.BindingAnnotation;

/** Annotation for injecting the executor used by long-lived IO tasks. */
@Target({ FIELD, METHOD, PARAMETER })
public @interface IoExecutor {}