testing/itest/jms/format-jmsdefault/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java [23:81]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class HelloWorldReferenceImpl implements HelloWorldReference {
    
    @Reference
    protected HelloWorldService helloWorldService1;
    
    @Reference
    protected HelloWorldService helloWorldService2;
    
    @Reference
    protected HelloWorldService helloWorldService3;
    
    @Reference
    protected HelloWorldService helloWorldService4;

    public String getGreetings(String name){
        String stringValue = helloWorldService1.getGreetings(name) + " " +
                             helloWorldService2.getGreetings(name) + " " +
                             helloWorldService3.getGreetings(name) + " " +
                             helloWorldService4.getGreetings(name);
        
        try {
            helloWorldService3.throwChecked(name);
        } catch (CheckedException e) {
            stringValue += " " + e.getMessage();
        }
        
        try {
            helloWorldService3.throwUnChecked(name);
        } catch (Exception e) {
            stringValue += " " + e.getMessage();
        }
        
        try {
            helloWorldService4.throwChecked(name);
        } catch (CheckedException e) {
            stringValue += " " + e.getMessage();
        }
        
        try {
            helloWorldService4.throwUnChecked(name);
        } catch (Exception e) {
            stringValue += " " + e.getMessage();
        }        
        
        return stringValue;
    }
    
    public String getPersonGreetings(Person person){
        return helloWorldService1.getPersonGreetings(person) + " " + 
               helloWorldService2.getPersonGreetings(person) + " " +
               helloWorldService3.getPersonGreetings(person) + " " +
               helloWorldService4.getPersonGreetings(person);
    }
    
    public void nullInVoidOut() {
        helloWorldService1.nullInVoidOut();  
        helloWorldService2.nullInVoidOut();
        helloWorldService3.nullInVoidOut();
        helloWorldService4.nullInVoidOut();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



testing/itest/jms/format-jmstextxmlinjmsobjectout/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java [23:81]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class HelloWorldReferenceImpl implements HelloWorldReference {
    
    @Reference
    protected HelloWorldService helloWorldService1;
    
    @Reference
    protected HelloWorldService helloWorldService2;
    
    @Reference
    protected HelloWorldService helloWorldService3;
    
    @Reference
    protected HelloWorldService helloWorldService4;

    public String getGreetings(String name){
        String stringValue = helloWorldService1.getGreetings(name) + " " +
                             helloWorldService2.getGreetings(name) + " " +
                             helloWorldService3.getGreetings(name) + " " +
                             helloWorldService4.getGreetings(name);
        
        try {
            helloWorldService3.throwChecked(name);
        } catch (CheckedException e) {
            stringValue += " " + e.getMessage();
        }
        
        try {
            helloWorldService3.throwUnChecked(name);
        } catch (Exception e) {
            stringValue += " " + e.getMessage();
        }
        
        try {
            helloWorldService4.throwChecked(name);
        } catch (CheckedException e) {
            stringValue += " " + e.getMessage();
        }
        
        try {
            helloWorldService4.throwUnChecked(name);
        } catch (Exception e) {
            stringValue += " " + e.getMessage();
        }        
        
        return stringValue;
    }
    
    public String getPersonGreetings(Person person){
        return helloWorldService1.getPersonGreetings(person) + " " + 
               helloWorldService2.getPersonGreetings(person) + " " +
               helloWorldService3.getPersonGreetings(person) + " " +
               helloWorldService4.getPersonGreetings(person);
    }
    
    public void nullInVoidOut() {
        helloWorldService1.nullInVoidOut();  
        helloWorldService2.nullInVoidOut();
        helloWorldService3.nullInVoidOut();
        helloWorldService4.nullInVoidOut();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



