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

jadex.webservice.examples.ws.banking.BankingService Maven / Gradle / Ivy

Go to download

The Jadex web service applications package contains several example applications, benchmarks and testcases using web service integration.

There is a newer version: 4.0.267
Show newest version
package jadex.webservice.examples.ws.banking;

import jadex.bridge.service.annotation.Service;
import jadex.commons.future.Future;
import jadex.commons.future.IFuture;

/**
 * The Jadex implementation of the banking service.
 */
@Service
public class BankingService implements IBankingService
{
	/**
	 *  Get an account statement.
	 *  @param request The request.
	 *  @return The account statement.
	 */
	public IFuture getAccountStatement(Request request)
	{
		String[] data = new String[]{"Statement 1", "Statement 2", "Statement 3"};
		AccountStatement as = new AccountStatement(data, request);
		return new Future(as);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy