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

aQute.launchpad.Service Maven / Gradle / Ivy

The newest version!
package aQute.launchpad;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

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

@Retention(RUNTIME)
@Target({
	FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR
})
public @interface Service {

	/**
	 * Timeout in milliseconds
	 */
	long timeout() default 0;

	/**
	 * Target filter
	 */
	String target() default "";

	/**
	 * The service type
	 */
	Class service() default Object.class;

	int minimum() default 0;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy