com.sun.xml.ws.policy.jaxws
Class PolicyMapBuilder

java.lang.Object
  extended by com.sun.xml.ws.policy.jaxws.PolicyMapBuilder

 class PolicyMapBuilder
extends Object

Used for populating changes into PolicyMap. Once a PolicyMap is created PolicyMapBuilder notifies all the registered WSPolicyBuilderHandler to populate changes to the PolicyMap.


Constructor Summary
PolicyMapBuilder()
          Creates a new instance of PolicyMapBuilder
 
Method Summary
(package private)  com.sun.xml.ws.policy.PolicyMap getPolicyMap(com.sun.xml.ws.policy.PolicyMapMutator... externalMutators)
          Iterates all the registered PolicyBuilders and lets them populate their changes into PolicyMap.
(package private)  void registerHandler(BuilderHandler builder)
          Registers another builder, which has to be notified after a new PolicyMap is created in order to populate it's changes.
(package private)  void unregisterAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyMapBuilder

PolicyMapBuilder()
Creates a new instance of PolicyMapBuilder

Method Detail

registerHandler

void registerHandler(BuilderHandler builder)
Registers another builder, which has to be notified after a new PolicyMap is created in order to populate it's changes.


getPolicyMap

com.sun.xml.ws.policy.PolicyMap getPolicyMap(com.sun.xml.ws.policy.PolicyMapMutator... externalMutators)
                                       throws com.sun.xml.ws.policy.PolicyException
Iterates all the registered PolicyBuilders and lets them populate their changes into PolicyMap. Registers mutators given as a parameter with the newly created map.

Throws:
com.sun.xml.ws.policy.PolicyException

unregisterAll

void unregisterAll()


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.