Package org.objectweb.celtix.ws.rm

Examples of org.objectweb.celtix.ws.rm.TerminateSequenceType


       
        assertNotNull(TerminateSequenceRequest.createDataBindingCallback());
       
        Object[] params = req.getObjectMessageContext().getMessageObjects();
        assertEquals(1, params.length);
        TerminateSequenceType ts = (TerminateSequenceType)params[0];
       
        assertEquals(sid, ts.getIdentifier());
     
        EasyMock.verify(source);
        EasyMock.verify(binding);
    }
View Full Code Here


            getBinding().getBus().getWorkQueueManager().getAutomaticWorkQueue().execute(response);
   
            return;
        } else if (RMUtils.getRMConstants().getTerminateSequenceAction().equals(action)) {
            Object[] parameters = (Object[])context.get(ObjectMessageContext.METHOD_PARAMETERS);
            TerminateSequenceType cs = (TerminateSequenceType)parameters[0];

            getServant().terminateSequence(getDestination(), cs.getIdentifier());
        }
       
        // for application AND out of band messages

        if (null != rmps) {           
View Full Code Here

        return new JAXBDataBindingCallback(method, DataBindingCallback.Mode.PARTS, null);
    }
   
    private void setMessageParameters(AbstractSequenceImpl seq) {
       
        TerminateSequenceType ts = RMUtils.getWSRMFactory().createTerminateSequenceType();
        ts.setIdentifier(seq.getIdentifier());
       
        getObjectMessageContext().setMessageObjects(new Object[] {ts});
    }
View Full Code Here

TOP

Related Classes of org.objectweb.celtix.ws.rm.TerminateSequenceType

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.