for (Iterator policyRefElements = PolicyUtil.getPolicyRefChildren(attachmentElement); policyRefElements.hasNext();) { PolicyComponent policyRef = PolicyUtil
for (Iterator policyRefElements = PolicyUtil.getPolicyRefChildren(attachmentElement); policyRefElements.hasNext();) { PolicyComponent policyRef = PolicyUtil
private void processMessages(Iterator messages, AxisOperation operation) throws DeploymentException { while (messages.hasNext()) { OMElement messageElement = (OMElement) messages.next(); OMAttribute label = messageElement .getAttribute(new QName(TAG_LABEL)); if (label == null) { throw new DeploymentException(Messages .getMessage("messagelabelcannotfound")); } AxisMessage message = operation.getMessage(label .getAttributeValue()); Iterator<OMElement> parameters = messageElement.getChildrenWithName(new QName( TAG_PARAMETER)); // processing <wsp:Policy> .. </..> elements Iterator<OMElement> policyElements = PolicyUtil.getPolicyChildren(messageElement); if (policyElements != null) { processPolicyElements(policyElements, message.getPolicySubject()); } // processing <wsp:PolicyReference> .. </..> elements Iterator<OMElement> policyRefElements = PolicyUtil.getPolicyRefChildren(messageElement); if (policyRefElements != null) { processPolicyRefElements(policyRefElements, message.getPolicySubject()); } processParameters(parameters, message, operation); } }
private void processMessages(Iterator messages, AxisOperation operation) throws DeploymentException { while (messages.hasNext()) { OMElement messageElement = (OMElement) messages.next(); OMAttribute label = messageElement .getAttribute(new QName(TAG_LABEL)); if (label == null) { throw new DeploymentException(Messages .getMessage("messagelabelcannotfound")); } AxisMessage message = operation.getMessage(label .getAttributeValue()); Iterator parameters = messageElement.getChildrenWithName(new QName( TAG_PARAMETER)); // processing <wsp:Policy> .. </..> elements Iterator policyElements = PolicyUtil.getPolicyChildren(messageElement); if (policyElements != null) { processPolicyElements(policyElements, message.getPolicySubject()); } // processing <wsp:PolicyReference> .. </..> elements Iterator policyRefElements = PolicyUtil.getPolicyRefChildren(messageElement); if (policyRefElements != null) { processPolicyRefElements(policyRefElements, message.getPolicySubject()); } processParameters(parameters, message, operation); } }
Iterator policyRefElements = PolicyUtil.getPolicyRefChildren(operation);
Iterator policyRefElements = PolicyUtil.getPolicyRefChildren(operation);
Iterator policyRefElements = PolicyUtil.getPolicyRefChildren(config_element);
Iterator<OMElement> policyRefElements = PolicyUtil.getPolicyRefChildren(moduleElement);
Iterator<OMElement> policyRefElements = PolicyUtil.getPolicyRefChildren(config_element);
Iterator<OMElement> policyRefElements = PolicyUtil.getPolicyRefChildren(moduleElement);
Iterator<OMElement> policyRefElements = PolicyUtil.getPolicyRefChildren(operation);
Iterator<OMElement> policyRefElements = PolicyUtil.getPolicyRefChildren(operation);
Iterator policyRefElements = PolicyUtil.getPolicyRefChildren(service_element);
Iterator policyRefElements = PolicyUtil.getPolicyRefChildren(service_element);