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

jadex.micro.testcases.nfproperties.NFPropertyTestService 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.nfproperties;

import jadex.bridge.nonfunctional.annotation.NFProperties;
import jadex.bridge.nonfunctional.annotation.NFProperty;
import jadex.bridge.service.annotation.Service;
import jadex.bridge.service.annotation.ServiceStart;
import jadex.commons.future.IFuture;

/**
 *  Service with nf props.
 */
@Service
public class NFPropertyTestService implements ICoreDependentService
{
	/**
	 *  Init method.
	 */
	@ServiceStart
	public IFuture x()
	{
//		System.out.println("SSTASD");
		return IFuture.DONE;
	}

	/**
	 *  Example method.
	 */
	@NFProperties(@NFProperty(name="methodspeed", value=MethodSpeedProperty.class))
	public IFuture testMethod()
	{
		return IFuture.DONE;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy