BEA Systems, Inc.

weblogic.jws
Interface Policy

All Superinterfaces:
Annotation

@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
extends Annotation

Annotation of specifying policy


Nested Class Summary
static class Policy.Direction
          when to apply the policy
 
Method Summary
 boolean attachToWsdl()
          whether attach policy to wsdl
 Policy.Direction direction()
          when to apply policy, defaut is both inbound and outbound messages
 boolean enabled()
           
 String uri()
          where to retrieve the policy
 
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
 

Method Detail

uri

String uri()
where to retrieve the policy

Returns:
uri of policy

direction

Policy.Direction direction()
when to apply policy, defaut is both inbound and outbound messages

Returns:

attachToWsdl

boolean attachToWsdl()
whether attach policy to wsdl


enabled

boolean enabled()

Because this information documents a Tech Preview of a BEA product, it may be incomplete and is subject to change. Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/essex/TechPreview
Copyright 2007 BEA Systems Inc.