for (Iterator policyElements = PolicyUtil.getPolicyChildren(attachmentElement); policyElements.hasNext();) { PolicyComponent policy = PolicyUtil
for (Iterator policyElements = PolicyUtil.getPolicyChildren(attachmentElement); policyElements.hasNext();) { PolicyComponent policy = 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 policyElements = PolicyUtil.getPolicyChildren(operation);
Iterator policyElements = PolicyUtil.getPolicyChildren(operation);
Iterator policyElements = PolicyUtil.getPolicyChildren(config_element);
Iterator<OMElement> policyElements = PolicyUtil.getPolicyChildren(moduleElement);
Iterator<OMElement> policyElements = PolicyUtil.getPolicyChildren(config_element);
Iterator<OMElement> policyElements = PolicyUtil.getPolicyChildren(moduleElement);
Iterator<OMElement> policyElements = PolicyUtil.getPolicyChildren(operation);
Iterator<OMElement> policyElements = PolicyUtil.getPolicyChildren(operation);
Iterator policyElements = PolicyUtil.getPolicyChildren(service_element);
Iterator policyElements = PolicyUtil.getPolicyChildren(service_element);