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

jadex.bridge.service.annotation.Service Maven / Gradle / Ivy

Go to download

Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.

There is a newer version: 4.0.267
Show newest version
package jadex.bridge.service.annotation;

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

/**
 *  Mark a class as implementing a service.
 *  Applicable to the type.
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Service
{
	/**
	 *  Supply the interface.
	 */
	public Class value() default Object.class;
	
	/**
	 *  Flag if it is a system service.
	 *  Declaring a service as system service has the following implications:
	 *  a) with at least one system service the hosting agent is considered as system agent
	 *     and system agents are displayed in the system view (JCC)
	 *  b) search requests have default scope PLATFORM instead of APPLICATION 
	 */
	public boolean system() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy