| |
|
| java.lang.Object com.sun.xml.ws.policy.PolicyMapMutator
All known Subclasses: com.sun.xml.ws.policy.PolicyMapExtender, com.sun.xml.ws.policy.EffectivePolicyModifier,
PolicyMapMutator | abstract public class PolicyMapMutator (Code) | | The class serves as a base for specific policy map mutator implementations. It provides common methods that allow
concrete mutator implementations to connect and disconnect to/from a policy map instance.
author: Marek Potociar (marek.potociar@sun.com) |
Constructor Summary | |
| PolicyMapMutator() Creates a new instance of PolicyMapMutator. |
Method Summary | |
void | connect(PolicyMap map) The method is used to connect the policy map mutator instance to the map it should mutate. | public void | disconnect() Disconnects the mutator from the policy map object it is connected to. | public PolicyMap | getMap() Can be used to retrieve the policy map currently connected to this mutator. | public boolean | isConnected() This method provides connection status information of the policy map mutator instance. |
PolicyMapMutator | PolicyMapMutator()(Code) | | Creates a new instance of PolicyMapMutator. This class cannot be extended from outside of this package.
|
connect | void connect(PolicyMap map)(Code) | | The method is used to connect the policy map mutator instance to the map it should mutate.
Parameters: map - the policy map instance that will be mutable by this mutator. throws: IllegalStateException - in case this mutator object is already connected to a policy map. |
disconnect | public void disconnect()(Code) | | Disconnects the mutator from the policy map object it is connected to. Method must be called prior to connecting this
mutator instance to another policy map.
This operation is irreversible: you cannot connect the mutator to the same policy map instance once you disconnect from it.
Multiple consequent calls of this method will have no effect.
|
isConnected | public boolean isConnected()(Code) | | This method provides connection status information of the policy map mutator instance.
true if the mutator instance is connected to a policy map, otherwise returns false . |
|
|
|