org.apache.cxf.ws.policy.attachment.wsdl11
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Wsdl11AttachmentPolicyProvider
public Wsdl11AttachmentPolicyProvider()
Wsdl11AttachmentPolicyProvider
public Wsdl11AttachmentPolicyProvider(Bus bus)
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