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

jadex.micro.testcases.BaseAgent Maven / Gradle / Ivy

Go to download

The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.

There is a newer version: 4.0.267
Show newest version
package jadex.micro.testcases;

import jadex.bridge.nonfunctional.annotation.NameValue;
import jadex.bridge.service.RequiredServiceInfo;
import jadex.bridge.service.types.clock.IClockService;
import jadex.micro.annotation.Agent;
import jadex.micro.annotation.Argument;
import jadex.micro.annotation.Arguments;
import jadex.micro.annotation.Binding;
import jadex.micro.annotation.Configuration;
import jadex.micro.annotation.Configurations;
import jadex.micro.annotation.Description;
import jadex.micro.annotation.Implementation;
import jadex.micro.annotation.Imports;
import jadex.micro.annotation.Properties;
import jadex.micro.annotation.ProvidedService;
import jadex.micro.annotation.ProvidedServices;
import jadex.micro.annotation.RequiredService;
import jadex.micro.annotation.RequiredServices;
import jadex.micro.annotation.Result;
import jadex.micro.annotation.Results;

/**
 *  Base class agent.
 */
@Agent
@Description("Base description")
@Imports({"b1", "b2"})
@Properties({@NameValue(name="a", value="\"ba\""), @NameValue(name="b", value="\"bb\"")})
@RequiredServices(@RequiredService(name="clock", type=IClockService.class, binding=@Binding(scope=RequiredServiceInfo.SCOPE_PLATFORM)))
@ProvidedServices(@ProvidedService(name="myservice", type=IAService.class, implementation=@Implementation(Object.class)))
@Arguments(@Argument(name="arg1", defaultvalue="\"bval\"", clazz=String.class))
@Results(@Result(name="res1", defaultvalue="\"bres\"", clazz=String.class))
@Configurations({@Configuration(name="config1"), @Configuration(name="config2")})
public abstract class BaseAgent
{
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy