Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

weblogic.jws
Annotation Type Policy


@Retention(value=RUNTIME)
@Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD})
@AggregateWebServiceFeatureAnnotation(featureBean=PolicyFeature.class,
                                      aggregateBean=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

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

Copyright 1996, 2013, 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.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01