jadex.webservice.examples.ws.banking.BankingService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-webservice Show documentation
Show all versions of jadex-applications-webservice Show documentation
The Jadex web service applications package contains several example applications, benchmarks and testcases using web service integration.
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