Package org.oasisopen.sca

Examples of org.oasisopen.sca.Conversation


    public void testConversation() {
        ServiceReference<BComponent> bSR = componentContext.getServiceReference(BComponent.class, "bReference");
        bSR.setConversationID("AConversationID");
        bSR.getService().testCustomConversationID();

        Conversation bc = bSR.getConversation();
        Assert.assertEquals("AConversationID", bc.getConversationID());
        bc.end();

        Assert.assertEquals("ComponentB", bReference.getService().getName());
        bReference.getService().testGeneratedConversationID(bReference.getConversation().getConversationID());
        bReference.getConversation().end();
View Full Code Here

TOP

Related Classes of org.oasisopen.sca.Conversation

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.