Class OptimalTransportPolicyMapConfigurator
java.lang.Object
com.sun.xml.ws.transport.tcp.policy.OptimalTransportPolicyMapConfigurator
- All Implemented Interfaces:
PolicyMapConfigurator
- Author:
- Alexey Stashok, Marek Potociar
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA callback method that allows to retrieve policy related information from provided parameters return a collection of new policies that are added to the map.
-
Constructor Details
-
OptimalTransportPolicyMapConfigurator
public OptimalTransportPolicyMapConfigurator()
-
-
Method Details
-
update
public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException Description copied from interface:PolicyMapConfiguratorA callback method that allows to retrieve policy related information from provided parameters return a collection of new policies that are added to the map. When new policies are returned, the caller may merge them with existing policies in the policy map.- Specified by:
updatein interfacePolicyMapConfigurator- Parameters:
policyMap- This map contains the policies that were already createdmodel- The WSDL model of the servicewsBinding- The binding of the service- Returns:
- A collection of policies and the subject to which they are attached. May return null or an empty collection.
- Throws:
PolicyException- Throw this exception if an error occurs
-