Examples of readPolicyReference()


Examples of org.apache.ws.policy.util.DOMPolicyReader.readPolicyReference()

                    component.addExtensibilityElement(policyExtensibilityElement);
                   
                } else if (ExtensionConstants.POLICY_REFERENCE.equals(unknown.getElementType())) {
                    PolicyExtensibilityElement policyExtensibilityElement = (PolicyExtensibilityElement) extensionFactory.getExtensionElement(wsdl4jElement.getElementType());
                    DOMPolicyReader policyReader = (DOMPolicyReader) PolicyFactory.getPolicyReader(PolicyFactory.DOM_POLICY_READER);
                    policyExtensibilityElement.setPolicyElement(policyReader.readPolicyReference(unknown.getElement()));
                    component.addExtensibilityElement(policyExtensibilityElement);                  
                   
                }else{

                    DefaultExtensibilityElement defaultExtensibilityElement = (DefaultExtensibilityElement) extensionFactory
View Full Code Here

Examples of org.apache.ws.policy.util.DOMPolicyReader.readPolicyReference()

                        .equals(element.getNamespaceURI())
                        && PolicyConstants.WS_POLICY_REFERENCE.equals(element
                        .getLocalName())) {

                    try {
                        policies.add(reader.readPolicyReference(element));

                    } catch (Exception ex) {
                        logger.debug(Messages.getMessage("policyprocessingerror"));
                        throw new DeploymentException(Messages.getMessage("policyprocessingerror"));
                    }
View Full Code Here

Examples of org.apache.ws.policy.util.DOMPolicyReader.readPolicyReference()

                    component.addExtensibilityElement(policyExtensibilityElement);

                } else if (ExtensionConstants.POLICY_REFERENCE.equals(unknown.getElementType())) {
                    PolicyExtensibilityElement policyExtensibilityElement = (PolicyExtensibilityElement) extensionFactory.getExtensionElement(wsdl4jElement.getElementType());
                    DOMPolicyReader policyReader = (DOMPolicyReader) PolicyFactory.getPolicyReader(PolicyFactory.DOM_POLICY_READER);
                    policyExtensibilityElement.setPolicyElement(policyReader.readPolicyReference(unknown.getElement()));
                    component.addExtensibilityElement(policyExtensibilityElement);

                }else{

                    DefaultExtensibilityElement defaultExtensibilityElement = (DefaultExtensibilityElement) extensionFactory
View Full Code Here

Examples of org.apache.ws.policy.util.DOMPolicyReader.readPolicyReference()

            .equals(element.getNamespaceURI())
            && PolicyConstants.WS_POLICY_REFERENCE.equals(element
                .getLocalName())) {

          try {
            policies.add(reader.readPolicyReference(element));

          } catch (Exception ex) {
            logger
                .debug("Exception occured when processing policy elements");
            throw new DeploymentException(ex.getMessage());
View Full Code Here

Examples of org.apache.ws.policy.util.DOMPolicyReader.readPolicyReference()

      if (policyReferences != null && policyReferences.size() != 0)
      {
         DOMPolicyReader reader = (DOMPolicyReader)PolicyFactory.getPolicyReader(PolicyFactory.DOM_POLICY_READER);
         for (WSDLExtensibilityElement element : policyReferences)
         {
            PolicyReference policyRef = reader.readPolicyReference(element.getElement());
            deployPolicy(resolvePolicyReference(policyRef, localPolicies), scope, extMetaData);
         }
      }
   }
View Full Code Here

Examples of org.apache.ws.policy.util.DOMPolicyReader.readPolicyReference()

      if (policyReferences != null && policyReferences.size() != 0)
      {
         DOMPolicyReader reader = (DOMPolicyReader)PolicyFactory.getPolicyReader(PolicyFactory.DOM_POLICY_READER);
         for (WSDLExtensibilityElement element : policyReferences)
         {
            PolicyReference policyRef = reader.readPolicyReference(element.getElement());
            deployPolicy(resolvePolicyReference(policyRef, localPolicies), scope, extMetaData);
         }
      }
   }
View Full Code Here

Examples of org.apache.ws.policy.util.DOMPolicyReader.readPolicyReference()

/* 230 */     if ((policyReferences != null) && (policyReferences.size() != 0))
/*     */     {
/* 232 */       reader = (DOMPolicyReader)PolicyFactory.getPolicyReader(3);
/* 233 */       for (WSDLExtensibilityElement element : policyReferences)
/*     */       {
/* 235 */         PolicyReference policyRef = reader.readPolicyReference(element.getElement());
/* 236 */         deployPolicy(resolvePolicyReference(policyRef, localPolicies), scope, extMetaData);
/*     */       }
/*     */     }
/*     */   }
/*     */
View Full Code Here

Examples of org.apache.ws.policy.util.DOMPolicyReader.readPolicyReference()

                } else if (WSDLConstants.POLICY_REFERENCE.equals(unknown
                        .getElementType())) {

                    DOMPolicyReader policyReader = (DOMPolicyReader) PolicyFactory
                            .getPolicyReader(PolicyFactory.DOM_POLICY_READER);
                    PolicyReference policyRef = policyReader
                            .readPolicyReference(unknown.getElement());
                    addPolicyRef(description, originOfExtensibilityElements,
                            policyRef);

                } else {
View Full Code Here

Examples of org.apache.ws.policy.util.OMPolicyReader.readPolicyReference()

                                            PolicyInclude policyInclude) {
        OMPolicyReader reader = (OMPolicyReader) PolicyFactory
                .getPolicyReader(PolicyFactory.OM_POLICY_READER);

        while (policyRefElements.hasNext()) {
            PolicyReference policyReference = reader
                    .readPolicyReference((OMElement) policyRefElements.next());
            policyInclude.addPolicyRefElement(type, policyReference);
        }
    }
View Full Code Here

Examples of org.apache.ws.policy.util.OMPolicyReader.readPolicyReference()

            PolicyInclude policyInclude) {
        OMPolicyReader reader = (OMPolicyReader) PolicyFactory
                .getPolicyReader(PolicyFactory.OM_POLICY_READER);

        while (policyRefElements.hasNext()) {
            PolicyReference policyReference = reader
                    .readPolicyReference((OMElement) policyRefElements.next());
            policyInclude.addPolicyRefElement(type, policyReference);
        }
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.