@Retention(value=RUNTIME) @Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD}) @WebServiceFeatureAnnotation(id="http://www.w3.org/ns/ws-policy", bean=PolicyFeature.class) public @interface Policy
| Modifier and Type | Required Element and Description | 
|---|---|
String | 
uri
where to retrieve the policy 
 | 
| Modifier and Type | Optional Element and Description | 
|---|---|
boolean | 
attachToWsdl
whether attach policy to wsdl 
 | 
Policy.Direction | 
direction
when to apply policy, defaut is both inbound and outbound messages 
 | 
boolean | 
enabled  | 
public abstract String uri
public abstract Policy.Direction direction