/** * Compares key parts of the state from the current instance of * this class with the specified instance to see if they are * equivalent. * <p/> * This differs from the java.lang.Object.equals() method in * that the equals() method generally looks at both the * object identity (location in memory) and the object state * (data). * <p/> * * @param ctx The object to compare with * @return TRUE if this object is equivalent with the specified object * that is, key fields match * FALSE, otherwise */ public boolean isEquivalent(OperationContext ctx) { // NOTE: the input object is expected to exist (ie, be non-null) if (this.isComplete != ctx.isComplete()) { return false; } if (!this.axisOperation.equals(ctx.getAxisOperation())) { return false; } // TODO: consider checking the parent objects for equivalency // TODO: consider checking fields from the super class for equivalency return true; }
public void addMessageContext(MessageContext msgContext, OperationContext opContext) throws AxisFault { if (!opContext.isComplete()) { opContext.getMessageContexts().put(MESSAGE_LABEL_OUT_VALUE, msgContext); opContext.setComplete(true); } else { throw new AxisFault(Messages.getMessage("mepcompleted")); } }
/** * Compares key parts of the state from the current instance of * this class with the specified instance to see if they are * equivalent. * <p/> * This differs from the java.lang.Object.equals() method in * that the equals() method generally looks at both the * object identity (location in memory) and the object state * (data). * <p/> * * @param ctx The object to compare with * @return TRUE if this object is equivalent with the specified object * that is, key fields match * FALSE, otherwise */ public boolean isEquivalent(OperationContext ctx) { // NOTE: the input object is expected to exist (ie, be non-null) if (this.isComplete != ctx.isComplete()) { return false; } if (!this.axisOperation.equals(ctx.getAxisOperation())) { return false; } // TODO: consider checking the parent objects for equivalency // TODO: consider checking fields from the super class for equivalency return true; }
public void addMessageContext(MessageContext msgContext, OperationContext opContext) throws AxisFault { if (!opContext.isComplete()) { opContext.getMessageContexts().put(MESSAGE_LABEL_IN_VALUE, msgContext); opContext.setComplete(true); } else { throw new AxisFault(Messages.getMessage("mepcompleted")); } }
public void addMessageContext(MessageContext msgContext, OperationContext opContext) throws AxisFault { if (!opContext.isComplete()) { opContext.getMessageContexts().put(MESSAGE_LABEL_OUT_VALUE, msgContext); opContext.setComplete(true); } else { throw new AxisFault(Messages.getMessage("mepcompleted")); } }
public void addMessageContext(MessageContext msgContext, OperationContext opContext) throws AxisFault { if (!opContext.isComplete()) { opContext.getMessageContexts().put(MESSAGE_LABEL_IN_VALUE, msgContext); opContext.setComplete(true); } else { throw new AxisFault(Messages.getMessage("mepcompleted")); } }
public void registerMessageContext(MessageContext msgContext, OperationContext operationContext) throws AxisFault { msgContext.setAxisOperation(this); operationContext.addMessageContext(msgContext); msgContext.setOperationContext(operationContext); if (operationContext.isComplete()) { operationContext.cleanup(); } }
public void registerMessageContext(MessageContext msgContext, OperationContext operationContext) throws AxisFault { msgContext.setAxisOperation(this); 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(); } }
if (responseMsgCtx == null && outMsgCtx.getOperationContext().isComplete()) {
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(); } }
if (opContext != null && opContext.isComplete()) { AxisOperation axisOp = opContext.getAxisOperation(); if (axisOp != null && axisOp.isControlOperation()) {
if (responseMsgCtx == null || outMsgCtx.getOptions().isUseSeparateListener() || outMsgCtx.getOperationContext().isComplete()) { if (responseMsgCtx != null && responseMsgCtx.getProperty("synapse.send") == null) {
+ operationClient.getOperationContext().isComplete());
if (outMsgCtx.getOperationContext().isComplete()) { if (log.isDebugEnabled()) { log.debug("Error getting IN message context from the operation context. " +
inMessageContext.setOperationContext(operationContext); inMessageContext.setServiceContext(outMessageContext.getServiceContext()); if (!operationContext.isComplete()) { operationContext.addMessageContext(inMessageContext);
inMessageContext.setOperationContext(operationContext); inMessageContext.setServiceContext(outMessageContext.getServiceContext()); if (!operationContext.isComplete()) { operationContext.addMessageContext(inMessageContext);