Class Wsdl11AttachmentPolicyProvider

java.lang.Object
org.apache.cxf.ws.policy.attachment.AbstractPolicyProvider
org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider
All Implemented Interfaces:
PolicyProvider

public class Wsdl11AttachmentPolicyProvider extends AbstractPolicyProvider
PolicyAttachmentManager provides methods to retrieve element policies and calculate effective policies based on the policy subject's scope.
  • Field Summary

    Fields inherited from class org.apache.cxf.ws.policy.attachment.AbstractPolicyProvider

    builder, bus, registry
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Wsdl11AttachmentPolicyProvider(org.apache.cxf.Bus bus)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.neethi.Policy
    getEffectivePolicy(org.apache.cxf.service.model.BindingFaultInfo bfi, org.apache.cxf.message.Message m)
     
    org.apache.neethi.Policy
    getEffectivePolicy(org.apache.cxf.service.model.BindingMessageInfo bmi, org.apache.cxf.message.Message m)
    The effective policy for a specific WSDL message (input or output) is calculated in relation to a specific port, and includes the element policy of the wsdl:message element that defines the message's type merged with the element policy of the wsdl11:binding and wsdl11:portType message definitions that describe the message.
    org.apache.neethi.Policy
    getEffectivePolicy(org.apache.cxf.service.model.BindingOperationInfo bi, org.apache.cxf.message.Message m)
    The effective policy for a WSDL operation policy subject is calculated in relation to a specific port, and includes the element policy of the wsdl11:portType/wsdl11:operation element that defines the operation merged with that of the corresponding wsdl11:binding/wsdl11:operation element.
    org.apache.neethi.Policy
    getEffectivePolicy(org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.message.Message m)
    The effective policy for a WSDL endpoint policy subject includes the element policy of the wsdl11:port element that defines the endpoint merged with the element policy of the referenced wsdl11:binding element and the element policy of the referenced wsdl11:portType element that defines the interface of the endpoint.
    org.apache.neethi.Policy
    getEffectivePolicy(org.apache.cxf.service.model.ServiceInfo si, org.apache.cxf.message.Message m)
     

    Methods inherited from class org.apache.cxf.ws.policy.attachment.AbstractPolicyProvider

    checkResolved, isExternal, resolveExternal, setBuilder, setBus, setRegistry

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Wsdl11AttachmentPolicyProvider

      public Wsdl11AttachmentPolicyProvider()
    • Wsdl11AttachmentPolicyProvider

      public Wsdl11AttachmentPolicyProvider(org.apache.cxf.Bus bus)
  • Method Details

    • getEffectivePolicy

      public org.apache.neethi.Policy getEffectivePolicy(org.apache.cxf.service.model.ServiceInfo si, org.apache.cxf.message.Message m)
    • getEffectivePolicy

      public org.apache.neethi.Policy getEffectivePolicy(org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.message.Message m)
      The effective policy for a WSDL endpoint policy subject includes the element policy of the wsdl11:port element that defines the endpoint merged with the element policy of the referenced wsdl11:binding element and the element policy of the referenced wsdl11:portType element that defines the interface of the endpoint.
      Parameters:
      ei - the EndpointInfo object identifying the endpoint
      Returns:
      the effective policy
    • getEffectivePolicy

      public org.apache.neethi.Policy getEffectivePolicy(org.apache.cxf.service.model.BindingOperationInfo bi, org.apache.cxf.message.Message m)
      The effective policy for a WSDL operation policy subject is calculated in relation to a specific port, and includes the element policy of the wsdl11:portType/wsdl11:operation element that defines the operation merged with that of the corresponding wsdl11:binding/wsdl11:operation element.
      Parameters:
      bi - the BindingOperationInfo identifying the operation in relation to a port
      Returns:
      the effective policy
    • getEffectivePolicy

      public org.apache.neethi.Policy getEffectivePolicy(org.apache.cxf.service.model.BindingMessageInfo bmi, org.apache.cxf.message.Message m)
      The effective policy for a specific WSDL message (input or output) is calculated in relation to a specific port, and includes the element policy of the wsdl:message element that defines the message's type merged with the element policy of the wsdl11:binding and wsdl11:portType message definitions that describe the message. For example, the effective policy of a specific input message for a specific port would be the (element policies of the) wsdl11:message element defining the message type, the wsdl11:portType/wsdl11:operation/wsdl11:input element and the corresponding wsdl11:binding/wsdl11:operation/wsdl11:input element for that message.
      Parameters:
      bmi - the BindingMessageInfo identifiying the message
      Returns:
      the effective policy
    • getEffectivePolicy

      public org.apache.neethi.Policy getEffectivePolicy(org.apache.cxf.service.model.BindingFaultInfo bfi, org.apache.cxf.message.Message m)