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

io.datakernel.worker.Primary Maven / Gradle / Ivy

Go to download

An intelligent way of booting complex applications and services according to their dependencies

There is a newer version: 3.1.0
Show newest version
package io.datakernel.worker;

import com.google.inject.BindingAnnotation;

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

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Annotation marker for binding one object which is 'primary' of its kind.
 * For example, primary evenloop among worker eventloops and so on.
 */
@BindingAnnotation
@Target({PARAMETER, METHOD})
@Retention(RUNTIME)
public @interface Primary {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy