com.sun.xml.ws.policy.jaxws
Class DefaultPolicyResolver
java.lang.Object
com.sun.xml.ws.policy.jaxws.DefaultPolicyResolver
- All Implemented Interfaces:
- PolicyResolver
public class DefaultPolicyResolver
- extends Object
- implements PolicyResolver
This default implementation runs the policy validators on the server side and
selects a policy alternative on the client side.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPolicyResolver
public DefaultPolicyResolver()
resolve
public com.sun.xml.ws.policy.PolicyMap resolve(PolicyResolver.ServerContext 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 server-side
- Returns:
- A PolicyMap with single policy alternative that gets created after consulting various configuration models.
resolve
public com.sun.xml.ws.policy.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 (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.