jadex.micro.servicecall.DirectServiceAgent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-micro Show documentation
Show all versions of jadex-applications-micro Show documentation
The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.
package jadex.micro.servicecall;
import jadex.bridge.sensor.service.TagProperty;
import jadex.micro.annotation.Agent;
import jadex.micro.annotation.Argument;
import jadex.micro.annotation.Arguments;
import jadex.micro.annotation.Implementation;
import jadex.micro.annotation.ProvidedService;
import jadex.micro.annotation.ProvidedServices;
/**
* Agent providing a direct service.
*/
@Arguments(@Argument(name=TagProperty.NAME, clazz=String.class, defaultvalue="\"direct\""))
@ProvidedServices(@ProvidedService(type=IServiceCallService.class,
implementation=@Implementation(value=ServiceCallService.class,
proxytype=Implementation.PROXYTYPE_DIRECT)))
@Agent
public class DirectServiceAgent
{
}