public class ManagedServiceAssertion extends ManagementAssertion
Modifier and Type | Class and Description |
---|---|
static class |
ManagedServiceAssertion.ImplementationRecord
Return the implementation class name along with all parameters for the
implementation.
|
static class |
ManagedServiceAssertion.NestedParameters
The nested parameters that may be set as part of an implementation element.
|
ManagementAssertion.Setting
Modifier and Type | Field and Description |
---|---|
static QName |
MANAGED_SERVICE_QNAME |
MANAGEMENT_ATTRIBUTE_QNAME, MONITORING_ATTRIBUTE_QNAME
Constructor and Description |
---|
ManagedServiceAssertion(com.sun.xml.ws.policy.sourcemodel.AssertionData data,
Collection<com.sun.xml.ws.policy.PolicyAssertion> assertionParameters) |
Modifier and Type | Method and Description |
---|---|
static ManagedServiceAssertion |
getAssertion(WSEndpoint endpoint)
Return ManagedService assertion if there is one associated with the endpoint.
|
Collection<ManagedServiceAssertion.ImplementationRecord> |
getCommunicationServerImplementations()
A list of CommunicationServerImplementation elements that were set as
parameters of this assertion.
|
ManagedServiceAssertion.ImplementationRecord |
getConfigReaderImplementation()
The ConfigReaderImplementation that was set as parameter of this assertion.
|
ManagedServiceAssertion.ImplementationRecord |
getConfigSaverImplementation()
The ConfigSaverImplementation that was set as parameter of this assertion.
|
ManagedServiceAssertion.ImplementationRecord |
getConfiguratorImplementation()
The ConfiguratorImplementation that was set as parameter of this assertion.
|
long |
getEndpointDisposeDelay(long defaultDelay)
Returns the value of the endpointDisposeDelay attribute or the default value
otherwise.
|
boolean |
isManagementEnabled()
Returns the value of the management attribute.
|
getAssertion, getId, getStart, monitoringAttribute
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
public static final QName MANAGED_SERVICE_QNAME
public ManagedServiceAssertion(com.sun.xml.ws.policy.sourcemodel.AssertionData data, Collection<com.sun.xml.ws.policy.PolicyAssertion> assertionParameters) throws com.sun.xml.ws.policy.spi.AssertionCreationException
com.sun.xml.ws.policy.spi.AssertionCreationException
public static ManagedServiceAssertion getAssertion(WSEndpoint endpoint) throws WebServiceException
endpoint
- The endpoint. Must not be null.WebServiceException
- If computing the effective policy of the endpoint failed.public boolean isManagementEnabled()
isManagementEnabled
in class ManagementAssertion
public long getEndpointDisposeDelay(long defaultDelay) throws WebServiceException
defaultDelay
- The default value that is returned if this attribute is
not setWebServiceException
public Collection<ManagedServiceAssertion.ImplementationRecord> getCommunicationServerImplementations()
public ManagedServiceAssertion.ImplementationRecord getConfiguratorImplementation()
public ManagedServiceAssertion.ImplementationRecord getConfigSaverImplementation()
public ManagedServiceAssertion.ImplementationRecord getConfigReaderImplementation()
Copyright © 2015 Oracle Corporation. All rights reserved.