public static class MessagePolicy.TargetPolicy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private MessagePolicy.ProtectionPolicy |
protectionPolicy |
private MessagePolicy.Target[] |
targets |
| Constructor and Description |
|---|
TargetPolicy(MessagePolicy.Target[] targets,
MessagePolicy.ProtectionPolicy protectionPolicy)
Create a new TargetPolicy.
|
| Modifier and Type | Method and Description |
|---|---|
MessagePolicy.ProtectionPolicy |
getProtectionPolicy()
Get the URI that identifies the policy that applies to the targets.
|
MessagePolicy.Target[] |
getTargets()
Get the array of layer-specific target descriptors that identify the one or
more message parts to which the specified message protection policy applies.
|
private MessagePolicy.ProtectionPolicy protectionPolicy
private MessagePolicy.Target[] targets
public TargetPolicy(MessagePolicy.Target[] targets, MessagePolicy.ProtectionPolicy protectionPolicy)
targets - protectionPolicy - public MessagePolicy.ProtectionPolicy getProtectionPolicy()
public MessagePolicy.Target[] getTargets()