Package org.apache.cxf.ws.rm.manager
Class DestinationPolicyType
java.lang.Object
org.apache.cxf.ws.rm.manager.DestinationPolicyType
RM destination configuration properties.
Used for configuring an RM destination.
Java class for DestinationPolicyType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="DestinationPolicyType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="acksPolicy" type="{http://cxf.apache.org/ws/rm/manager}AcksPolicyType" minOccurs="0"/>
<element name="retryPolicy" type="{http://cxf.apache.org/ws/rm/manager}RetryPolicyType" minOccurs="0"/>
</sequence>
<attribute name="sequenceExpiration" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT0S" />
<attribute name="acceptOffers" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="maxSequences" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanIndicates if an RM destination should accept inbound sequence offers.protected AcksPolicyTypeprotected IntegerThe maximum number of sequences that can be held active.protected RetryPolicyTypeprotected DurationPreferred lifetime of a sequence - can be lower than the duration requested by the RM source in a CreateSequence request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the acksPolicy property.intThe maximum number of sequences that can be held active.Gets the value of the retryPolicy property.Preferred lifetime of a sequence - can be lower than the duration requested by the RM source in a CreateSequence request.booleanIndicates if an RM destination should accept inbound sequence offers.booleanbooleanbooleanbooleanbooleanvoidsetAcceptOffers(boolean value) Sets the value of the acceptOffers property.voidsetAcksPolicy(AcksPolicyType value) Sets the value of the acksPolicy property.voidsetMaxSequences(int value) Sets the value of the maxSequences property.voidsetRetryPolicy(RetryPolicyType value) Sets the value of the retryPolicy property.voidsetSequenceExpiration(Duration value) Sets the value of the sequenceExpiration property.voidvoid
-
Field Details
-
acksPolicy
-
retryPolicy
-
sequenceExpiration
Preferred lifetime of a sequence - can be lower than the duration requested by the RM source in a CreateSequence request. A default of PT0S means that the sequence should never expire. -
acceptOffers
Indicates if an RM destination should accept inbound sequence offers. -
maxSequences
The maximum number of sequences that can be held active. A value of 0 indicates there is no limit.
-
-
Constructor Details
-
DestinationPolicyType
public DestinationPolicyType()
-
-
Method Details
-
getAcksPolicy
Gets the value of the acksPolicy property.- Returns:
- possible object is
AcksPolicyType
-
setAcksPolicy
Sets the value of the acksPolicy property.- Parameters:
value- allowed object isAcksPolicyType
-
isSetAcksPolicy
public boolean isSetAcksPolicy() -
getRetryPolicy
Gets the value of the retryPolicy property.- Returns:
- possible object is
RetryPolicyType
-
setRetryPolicy
Sets the value of the retryPolicy property.- Parameters:
value- allowed object isRetryPolicyType
-
isSetRetryPolicy
public boolean isSetRetryPolicy() -
setSequenceExpiration
Sets the value of the sequenceExpiration property.- Parameters:
value- allowed object isDuration- See Also:
-
isSetSequenceExpiration
public boolean isSetSequenceExpiration() -
getSequenceExpiration
Preferred lifetime of a sequence - can be lower than the duration requested by the RM source in a CreateSequence request. A default of PT0S means that the sequence should never expire. -
setAcceptOffers
public void setAcceptOffers(boolean value) Sets the value of the acceptOffers property. -
unsetAcceptOffers
public void unsetAcceptOffers() -
isSetAcceptOffers
public boolean isSetAcceptOffers() -
isAcceptOffers
public boolean isAcceptOffers()Indicates if an RM destination should accept inbound sequence offers. -
setMaxSequences
public void setMaxSequences(int value) Sets the value of the maxSequences property. -
unsetMaxSequences
public void unsetMaxSequences() -
isSetMaxSequences
public boolean isSetMaxSequences() -
getMaxSequences
public int getMaxSequences()The maximum number of sequences that can be held active. A value of 0 indicates there is no limit.
-