com.sun.xml.ws.api.config.management.policy
Class ManagedClientAssertion

java.lang.Object
  extended by com.sun.xml.ws.policy.PolicyAssertion
      extended by com.sun.xml.ws.policy.SimpleAssertion
          extended by com.sun.xml.ws.api.config.management.policy.ManagementAssertion
              extended by com.sun.xml.ws.api.config.management.policy.ManagedClientAssertion

public class ManagedClientAssertion
extends ManagementAssertion

The client-side ManagedClient policy assertion.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
ManagementAssertion.Setting
 
Field Summary
static QName MANAGED_CLIENT_QNAME
           
 
Fields inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
MANAGEMENT_ATTRIBUTE_QNAME, MONITORING_ATTRIBUTE_QNAME
 
Constructor Summary
ManagedClientAssertion(com.sun.xml.ws.policy.sourcemodel.AssertionData data, Collection<com.sun.xml.ws.policy.PolicyAssertion> assertionParameters)
           
 
Method Summary
static ManagedClientAssertion getAssertion(WSPortInfo portInfo)
          Return ManagedClient assertion if there is one associated with the client.
 boolean isManagementEnabled()
          Clients cannot be managed.
 
Methods inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
getAssertion, getId, getStart, monitoringAttribute
 
Methods inherited from class com.sun.xml.ws.policy.SimpleAssertion
getNestedPolicy, hasNestedPolicy
 
Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MANAGED_CLIENT_QNAME

public static final QName MANAGED_CLIENT_QNAME
Constructor Detail

ManagedClientAssertion

public ManagedClientAssertion(com.sun.xml.ws.policy.sourcemodel.AssertionData data,
                              Collection<com.sun.xml.ws.policy.PolicyAssertion> assertionParameters)
                       throws com.sun.xml.ws.policy.spi.AssertionCreationException
Throws:
com.sun.xml.ws.policy.spi.AssertionCreationException
Method Detail

getAssertion

public static ManagedClientAssertion getAssertion(WSPortInfo portInfo)
                                           throws WebServiceException
Return ManagedClient assertion if there is one associated with the client.

Parameters:
portInfo - The client PortInfo.
Returns:
The policy assertion if found. Null otherwise.
Throws:
WebServiceException - If computing the effective policy of the port failed.

isManagementEnabled

public boolean isManagementEnabled()
Clients cannot be managed.

Specified by:
isManagementEnabled in class ManagementAssertion
Returns:
False.


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.