FileDocCategorySizeDatePackage
TxPolicyValidator.javaAPI DocExample3150Tue May 29 16:57:16 BST 2007com.sun.xml.ws.tx.common

TxPolicyValidator

public class TxPolicyValidator extends Object implements com.sun.xml.ws.policy.spi.PolicyAssertionValidator
author
jf39279

Fields Summary
private static final ArrayList
supportedAssertions
Constructors Summary
Methods Summary
public java.lang.String[]declareSupportedDomains()

        return new String[] {WSAT_SOAP_NSURI};
    
public FitnessvalidateClientSide(com.sun.xml.ws.policy.PolicyAssertion assertion)


     
        // In Future: will  need to support both member submission and OASIS WS-TX WS-AT assertions.
        supportedAssertions.add(AT_ASSERTION);
        supportedAssertions.add(AT_ALWAYS_CAPABILITY);
    
        return supportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;
    
public FitnessvalidateServerSide(com.sun.xml.ws.policy.PolicyAssertion assertion)

        return supportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;