/** * Registers a OperationContext with a given message ID. If the given message id already has a * registered operation context, no change is made and the method returns false. * * @param messageID the message ID of the request message in the MEP * @param operationContext the OperationContext * @return true if we registered this context, false if there was already one for that ID */ public boolean registerOperationContext(String messageID, OperationContext operationContext) { return registerOperationContext(messageID, operationContext, false); }
/** * Registers a OperationContext with a given message ID. If the given message id already has a * registered operation context, no change is made and the method returns false. * * @param messageID the message ID of the request message in the MEP * @param operationContext the OperationContext * @return true if we registered this context, false if there was already one for that ID */ public boolean registerOperationContext(String messageID, OperationContext operationContext) { return registerOperationContext(messageID, operationContext, false); }
public void registerOperationContext(MessageContext msgContext, OperationContext operationContext) throws AxisFault { msgContext.setAxisOperation(this); msgContext.getConfigurationContext().registerOperationContext(msgContext.getMessageID(), operationContext); operationContext.addMessageContext(msgContext); msgContext.setOperationContext(operationContext); if (operationContext.isComplete()) { operationContext.cleanup(); } }
public void registerOperationContext(MessageContext msgContext, OperationContext operationContext) throws AxisFault { msgContext.setAxisOperation(this); msgContext.getConfigurationContext().registerOperationContext(msgContext.getMessageID(), operationContext); operationContext.addMessageContext(msgContext); msgContext.setOperationContext(operationContext); if (operationContext.isComplete()) { operationContext.cleanup(); } }
mc.getConfigurationContext().registerOperationContext(mc.getMessageID(), oc); AxisEngine.send(mc); if (internalCallback != null) {
mc.getConfigurationContext().registerOperationContext(mc.getMessageID(), oc); AxisEngine.send(mc); if (internalCallback != null) {
mc.getConfigurationContext().registerOperationContext(mc.getMessageID(), oc); AxisEngine.send(mc); if (internalCallback != null) {
boolean registrationSuceeded = activeCC.registerOperationContext(key, this, true); if (!registrationSuceeded) {
boolean registrationSuceeded = activeCC.registerOperationContext(key, this, true); if (!registrationSuceeded) {
opcontext.setParent(getMsgContext().getServiceContext()); getConfigurationContext().registerOperationContext(ackRequestRMMsg.getMessageId(), opcontext); getMsgContext().setOperationContext(opcontext);
opcontext.setParent(getMsgContext().getServiceContext()); getConfigurationContext().registerOperationContext(rmMsgCtx.getMessageId(), opcontext);
String createSeqMsgId = SandeshaUtil.getUUID(); createSeqmsgContext.setMessageID(createSeqMsgId); context.registerOperationContext(createSeqMsgId, createSeqOpCtx);
opcontext.setParent(getMsgContext().getServiceContext()); getConfigurationContext().registerOperationContext(rmMsgCtx.getMessageId(),opcontext); getMsgContext().setOperationContext(opcontext);
outMsgCtx.getConfigurationContext().registerOperationContext( outMsgCtx.getMessageID(), oc);
outMsgCtx.getConfigurationContext().registerOperationContext( outMsgCtx.getMessageID(), oc);
configCtx.registerOperationContext(terminateMessage.getMessageID(), operationContext);