com.sun.xml.ws.policy.parser
Class WsitPolicyResolver

java.lang.Object
  extended by com.sun.xml.ws.policy.parser.WsitPolicyResolver
All Implemented Interfaces:
PolicyResolver

public class WsitPolicyResolver
extends Object
implements PolicyResolver

Load and process the WSIT configuration files. If they are not present, fall back to the JAX-WS default implementation.

Author:
Rama Pulavarthi, Fabian Ritzmann

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.api.policy.PolicyResolver
PolicyResolver.ClientContext, PolicyResolver.ServerContext
 
Constructor Summary
WsitPolicyResolver()
           
 
Method Summary
 PolicyMap resolve(PolicyResolver.ClientContext context)
          Creates a PolicyResolver
 PolicyMap resolve(PolicyResolver.ServerContext context)
          Creates a PolicyResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsitPolicyResolver

public WsitPolicyResolver()
Method Detail

resolve

public PolicyMap resolve(PolicyResolver.ServerContext context)
                  throws WebServiceException
Description copied from interface: PolicyResolver
Creates a PolicyResolver

Specified by:
resolve in interface PolicyResolver
Parameters:
context - ServerContext that captures information useful for resolving Policy on server-side
Returns:
A PolicyMap with single policy alternative that gets created after consulting various configuration models.
Throws:
WebServiceException - If resolution failed

resolve

public PolicyMap resolve(PolicyResolver.ClientContext context)
Description copied from interface: PolicyResolver
Creates a PolicyResolver

Specified by:
resolve in interface PolicyResolver
Parameters:
context - ServerContext that captures information useful for resolving Policy on client-side
Returns:
A PolicyMap with single policy alternative that gets created after consulting various configuration models.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.