|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.policy.SimpleAssertion
com.sun.xml.ws.api.config.management.policy.ManagementAssertion
public abstract class ManagementAssertion
Base class for the #ManagedClientAssertion and #ManagedServiceAssertion. Provides convenience methods to directly access the policy assertion parameters.
| Nested Class Summary | |
|---|---|
static class |
ManagementAssertion.Setting
To be able to distinguish between explicit settings and no setting. |
| Field Summary | |
|---|---|
protected static javax.xml.namespace.QName |
MANAGEMENT_ATTRIBUTE_QNAME
The name of the management attribute. |
protected static javax.xml.namespace.QName |
MONITORING_ATTRIBUTE_QNAME
The name of the monitoring attribute. |
| Constructor Summary | |
|---|---|
protected |
ManagementAssertion(javax.xml.namespace.QName name,
com.sun.xml.ws.policy.sourcemodel.AssertionData data,
java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> assertionParameters)
Create a new ManagementAssertion instance. |
| Method Summary | ||
|---|---|---|
protected static
|
getAssertion(javax.xml.namespace.QName name,
com.sun.xml.ws.policy.PolicyMap policyMap,
javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portName,
java.lang.Class<T> type)
Return ManagementAssertion if one can be found in the policy map under the given service and port name. |
|
java.lang.String |
getId()
Returns the value of the id attribute. |
|
java.lang.String |
getStart()
Returns the value of the start attribute. |
|
abstract boolean |
isManagementEnabled()
Returns the value of the managment attribute depending on whether this is a client-side or server-side assertion. |
|
ManagementAssertion.Setting |
monitoringAttribute()
Returns the value of the monitoring attribute. |
|
| 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 |
|---|
protected static final javax.xml.namespace.QName MANAGEMENT_ATTRIBUTE_QNAME
protected static final javax.xml.namespace.QName MONITORING_ATTRIBUTE_QNAME
| Constructor Detail |
|---|
protected ManagementAssertion(javax.xml.namespace.QName name,
com.sun.xml.ws.policy.sourcemodel.AssertionData data,
java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> assertionParameters)
throws com.sun.xml.ws.policy.spi.AssertionCreationException
name - The fully qualified name of the server or client assertion. Must
not be null.data - The assertion data. Must not be null.assertionParameters - Parameters of the assertion. May be null.
com.sun.xml.ws.policy.spi.AssertionCreationException - Thrown if the creation of the assertion failed.| Method Detail |
|---|
protected static <T extends ManagementAssertion> T getAssertion(javax.xml.namespace.QName name,
com.sun.xml.ws.policy.PolicyMap policyMap,
javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portName,
java.lang.Class<T> type)
throws javax.xml.ws.WebServiceException
T - The implementation class of the assertion.name - The fully qualified name of the server or client assertion.policyMap - The policy map. May be null.serviceName - The WSDL service name. May not be null.portName - The WSDL port name. May not be null.type - The implementation class of the assertion.
javax.xml.ws.WebServiceException - If computing the effective policy of the endpoint scope failed.public java.lang.String getId()
public java.lang.String getStart()
public abstract boolean isManagementEnabled()
public ManagementAssertion.Setting monitoringAttribute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||