Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## weblogic.jws
Annotation Type Policy

    @Retention(value=RUNTIME)
    @Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD})
    @AggregateWebServiceFeatureAnnotation(featureBean=weblogic.jws.jaxws.PolicyFeature.class,
                                          aggregateBean=weblogic.jws.jaxws.AggregatePolicyFeature.class)
    public @interface Policy

Annotation of specifying policy

Required Element Summary
`String` | `uri` where to retrieve the policy

Optional Element Summary
`boolean` | `attachToWsdl` whether attach policy to wsdl
`Policy.Direction` | `direction` when to apply policy, defaut is both inbound and outbound messages
`boolean` | `enabled`

Element Detail

### uri

    public abstract String uri

  where to retrieve the policy

  Returns:
    uri of policy

### direction

    public abstract Policy.Direction direction

  when to apply policy, defaut is both inbound and outbound messages

  Returns:
  Default:
    weblogic.jws.Policy.Direction.both

### attachToWsdl

    public abstract boolean attachToWsdl

  whether attach policy to wsdl

  Default:
    false

### enabled

    public abstract boolean enabled

  Default:
    true

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT