public final class EffectivePolicyModifier extends PolicyMapMutator
Modifier and Type | Method and Description |
---|---|
static EffectivePolicyModifier |
createEffectivePolicyModifier() |
void |
setNewEffectivePolicyForEndpointScope(PolicyMapKey key,
Policy newEffectivePolicy)
Replaces current effective policy on the endpoint scope (identified by a
key parameter) with the new efective
policy provided as a second input parameter. |
void |
setNewEffectivePolicyForFaultMessageScope(PolicyMapKey key,
Policy newEffectivePolicy)
Replaces current effective policy on the fault message scope (identified by a
key parameter) with the new efective
policy provided as a second input parameter. |
void |
setNewEffectivePolicyForInputMessageScope(PolicyMapKey key,
Policy newEffectivePolicy)
Replaces current effective policy on the input message scope (identified by a
key parameter) with the new efective
policy provided as a second input parameter. |
void |
setNewEffectivePolicyForOperationScope(PolicyMapKey key,
Policy newEffectivePolicy)
Replaces current effective policy on the operation scope (identified by a
key parameter) with the new efective
policy provided as a second input parameter. |
void |
setNewEffectivePolicyForOutputMessageScope(PolicyMapKey key,
Policy newEffectivePolicy)
Replaces current effective policy on the output message scope (identified by a
key parameter) with the new efective
policy provided as a second input parameter. |
void |
setNewEffectivePolicyForServiceScope(PolicyMapKey key,
Policy newEffectivePolicy)
Replaces current effective policy on the service scope (identified by a
key parameter) with the new efective
policy provided as a second input parameter. |
connect, disconnect, getMap, isConnected
public static EffectivePolicyModifier createEffectivePolicyModifier()
public void setNewEffectivePolicyForServiceScope(PolicyMapKey key, Policy newEffectivePolicy)
key
parameter) with the new efective
policy provided as a second input parameter. If no policy was defined for the presented key, the new policy is simply
stored with the key.key
- identifier of the scope the effective policy should be replaced with the new one. Must not be null
.newEffectivePolicy
- the new policy to replace the old effective policy of the scope. Must not be null
.IllegalArgumentException
- in case any of the input parameters is null
public void setNewEffectivePolicyForEndpointScope(PolicyMapKey key, Policy newEffectivePolicy)
key
parameter) with the new efective
policy provided as a second input parameter.key
- identifier of the scope the effective policy should be replaced with the new one. Must not be null
.newEffectivePolicy
- the new policy to replace the old effective policy of the scope. Must not be null
.IllegalArgumentException
- in case any of the input parameters is null
public void setNewEffectivePolicyForOperationScope(PolicyMapKey key, Policy newEffectivePolicy)
key
parameter) with the new efective
policy provided as a second input parameter. If no policy was defined for the presented key, the new policy is simply
stored with the key.key
- identifier of the scope the effective policy should be replaced with the new one. Must not be null
.newEffectivePolicy
- the new policy to replace the old effective policy of the scope. Must not be null
.IllegalArgumentException
- in case any of the input parameters is null
public void setNewEffectivePolicyForInputMessageScope(PolicyMapKey key, Policy newEffectivePolicy)
key
parameter) with the new efective
policy provided as a second input parameter. If no policy was defined for the presented key, the new policy is simply
stored with the key.key
- identifier of the scope the effective policy should be replaced with the new one. Must not be null
.newEffectivePolicy
- the new policy to replace the old effective policy of the scope. Must not be null
.IllegalArgumentException
- in case any of the input parameters is null
public void setNewEffectivePolicyForOutputMessageScope(PolicyMapKey key, Policy newEffectivePolicy)
key
parameter) with the new efective
policy provided as a second input parameter. If no policy was defined for the presented key, the new policy is simply
stored with the key.key
- identifier of the scope the effective policy should be replaced with the new one. Must not be null
.newEffectivePolicy
- the new policy to replace the old effective policy of the scope. Must not be null
.IllegalArgumentException
- in case any of the input parameters is null
public void setNewEffectivePolicyForFaultMessageScope(PolicyMapKey key, Policy newEffectivePolicy)
key
parameter) with the new efective
policy provided as a second input parameter. If no policy was defined for the presented key, the new policy is simply
stored with the key.key
- identifier of the scope the effective policy should be replaced with the new one. Must not be null
.newEffectivePolicy
- the new policy to replace the old effective policy of the scope. Must not be null
.IllegalArgumentException
- in case any of the input parameters is null
Copyright © 2006-2015 Oracle Corporation. All Rights Reserved.