
jadex.micro.annotation.Publish Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-kernel-micro Show documentation
Show all versions of jadex-kernel-micro Show documentation
The Jadex micro kernel provides a lightweight and very efficient kernel for minimal agents with an extremely low memory footprint. Micro agents have a simple internal architecture that is similar to active objects. They are programmed as Java objects overriding a framework class, which has predefined methods for the setup, termination, execution logic as well as message receipt.
package jadex.micro.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The name (for referencing/overriding).
*/
@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Publish
{
/**
* The publishing id, e.g. url or name.
*/
public String publishid();
/**
* The publishing type, e.g. web service.
*/
public String publishtype();
/**
* The mapping information (e.g. annotated interface).
*/
public Class> mapping() default Object.class;
/**
* Additional mapping properties.
*/
public NameValue[] properties() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy