jadex.micro.testcases.serviceimpl.PojoProviderAgent 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.testcases.serviceimpl;
import jadex.bridge.service.annotation.Service;
import jadex.commons.future.Future;
import jadex.commons.future.IFuture;
import jadex.micro.annotation.Agent;
import jadex.micro.annotation.ProvidedService;
import jadex.micro.annotation.ProvidedServices;
@Agent
@Service
@ProvidedServices(@ProvidedService(type=IInfoService.class))
public class PojoProviderAgent implements IInfoService
{
/**
* Get some info.
* @return Some info.
*/
public IFuture getInfo()
{
return new Future("some info");
}
}