com.sun.xml.ws.policy
Class PolicyMapKey

java.lang.Object
  extended by com.sun.xml.ws.policy.PolicyMapKey

public final class PolicyMapKey
extends java.lang.Object

This class provides implementation of PolicyMapKey interface to be used in connection with PolicyMap. Instances of the class are created by a call to one of PolicyMap createWsdlXXXPolicyMapKey(...) methods.

The class wraps scope information and adds a package setter method to allow injection of actual equality comparator/tester. This injection is made within a get... call on PolicyMap, before the actual scope map search is performed.

Author:
Marek Potociar (marek.potociar at sun.com), Fabian Ritzmann

Method Summary
 boolean equals(java.lang.Object that)
           
 javax.xml.namespace.QName getFaultMessage()
           
 javax.xml.namespace.QName getOperation()
           
 javax.xml.namespace.QName getPort()
           
 javax.xml.namespace.QName getService()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getOperation

public javax.xml.namespace.QName getOperation()

getPort

public javax.xml.namespace.QName getPort()

getService

public javax.xml.namespace.QName getService()

getFaultMessage

public javax.xml.namespace.QName getFaultMessage()

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011 Sun Microsystems, Inc.. All Rights Reserved.