Package org.apache.tuscany.sca.itest.callablerefconversational

Examples of org.apache.tuscany.sca.itest.callablerefconversational.ConversationalService


        final Object origConvID = acomponent.getConversationID();
        Assert.assertNotNull(origConvID);
        final ServiceReference<ConversationalService> ref = acomponent.createSelfRef();
        Assert.assertNotNull(ref);

        final ConversationalService resolvedRef = ref.getService();
        Assert.assertNotNull(resolvedRef);
        final Object newConvID = resolvedRef.getConversationID();
        Assert.assertNotNull(newConvID);

        Assert.assertEquals(origConvID, newConvID);
    }
View Full Code Here


        acomponent.setUserData(userData);

        final ServiceReference<ConversationalService> ref = acomponent.createSelfRef();
        Assert.assertNotNull(ref);

        final ConversationalService resolvedRef = ref.getService();
        Assert.assertNotNull(resolvedRef);
        final String newUserData = resolvedRef.getUserData();
        Assert.assertNotNull(newUserData);

        Assert.assertEquals(userData, newUserData);
    }
View Full Code Here

        final Object origConvID = acomponent.getConversationID();
        Assert.assertNotNull(origConvID);
        final ServiceReference<ConversationalService> ref = acomponent.createSelfRef();
        Assert.assertNotNull(ref);

        final ConversationalService resolvedRef = ref.getService();
        Assert.assertNotNull(resolvedRef);
        final Object newConvID = resolvedRef.getConversationID();
        Assert.assertNotNull(newConvID);

        Assert.assertEquals(origConvID, newConvID);
    }
View Full Code Here

        acomponent.setUserData(userData);

        final ServiceReference<ConversationalService> ref = acomponent.createSelfRef();
        Assert.assertNotNull(ref);

        final ConversationalService resolvedRef = ref.getService();
        Assert.assertNotNull(resolvedRef);
        final String newUserData = resolvedRef.getUserData();
        Assert.assertNotNull(newUserData);

        Assert.assertEquals(userData, newUserData);
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.itest.callablerefconversational.ConversationalService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.