Apache CXF API

org.apache.cxf.ws.policy.attachment.wsdl11
Class Wsdl11AttachmentPolicyProvider

java.lang.Object
  extended by org.apache.cxf.ws.policy.attachment.AbstractPolicyProvider
      extended by 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
Wsdl11AttachmentPolicyProvider()
           
Wsdl11AttachmentPolicyProvider(Bus bus)
           
 
Method Summary
 org.apache.neethi.Policy getEffectivePolicy(BindingFaultInfo bfi)
           
 org.apache.neethi.Policy getEffectivePolicy(BindingMessageInfo bmi)
          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(BindingOperationInfo bi)
          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(EndpointInfo ei)
          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(ServiceInfo si)
           
 
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 Detail

Wsdl11AttachmentPolicyProvider

public Wsdl11AttachmentPolicyProvider()

Wsdl11AttachmentPolicyProvider

public Wsdl11AttachmentPolicyProvider(Bus bus)
Method Detail

getEffectivePolicy

public org.apache.neethi.Policy getEffectivePolicy(ServiceInfo si)

getEffectivePolicy

public org.apache.neethi.Policy getEffectivePolicy(EndpointInfo ei)
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(BindingOperationInfo bi)
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(BindingMessageInfo bmi)
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(BindingFaultInfo bfi)

Apache CXF API

Apache CXF