org.distributeme.test.moskitojourney.AServiceImpl Maven / Gradle / Ivy
package org.distributeme.test.moskitojourney;
import org.distributeme.core.ServiceLocator;
public class AServiceImpl implements AService{
private BService bService = ServiceLocator.getRemote(BService.class);
@Override
public String aMethod(String param) throws AServiceException {
try{
return "a of ("+bService.bMethod(param)+")";
}catch(BServiceException e){
throw new AServiceException("BService failed:", e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy