Class MultiServiceMicroservice
- java.lang.Object
- 
- jadex.microservice.examples.multi.MultiServiceMicroservice
 
- 
- All Implemented Interfaces:
- IAsyncService,- ISyncService
 
 public class MultiServiceMicroservice extends java.lang.Object implements ISyncService, IAsyncService This example shows multiple microservices implemented in one Java pojo
- 
- 
Field SummaryFields Modifier and Type Field Description protected intcnt
 - 
Constructor SummaryConstructors Constructor Description MultiServiceMicroservice()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringsayHello(java.lang.String name)Say hello.IFuture<java.lang.String>sayMeHello(java.lang.String name)Say hello method.
 
- 
- 
- 
Method Detail- 
sayHellopublic java.lang.String sayHello(java.lang.String name) Say hello.- Specified by:
- sayHelloin interface- ISyncService
- Parameters:
- name- The name.
- Returns:
- The greeting.
 
 - 
sayMeHellopublic IFuture<java.lang.String> sayMeHello(java.lang.String name) Say hello method.- Specified by:
- sayMeHelloin interface- IAsyncService
- Parameters:
- name- The name.
 
 
- 
 
-