Class DestinationPolicyType

java.lang.Object
org.apache.cxf.ws.rm.manager.DestinationPolicyType

public class DestinationPolicyType extends Object
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 Details

    • acksPolicy

      protected AcksPolicyType acksPolicy
    • retryPolicy

      protected RetryPolicyType retryPolicy
    • sequenceExpiration

      protected Duration 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

      protected Boolean acceptOffers
      Indicates if an RM destination should accept inbound sequence offers.
    • maxSequences

      protected Integer 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

      public AcksPolicyType getAcksPolicy()
      Gets the value of the acksPolicy property.
      Returns:
      possible object is AcksPolicyType
    • setAcksPolicy

      public void setAcksPolicy(AcksPolicyType value)
      Sets the value of the acksPolicy property.
      Parameters:
      value - allowed object is AcksPolicyType
    • isSetAcksPolicy

      public boolean isSetAcksPolicy()
    • getRetryPolicy

      public RetryPolicyType getRetryPolicy()
      Gets the value of the retryPolicy property.
      Returns:
      possible object is RetryPolicyType
    • setRetryPolicy

      public void setRetryPolicy(RetryPolicyType value)
      Sets the value of the retryPolicy property.
      Parameters:
      value - allowed object is RetryPolicyType
    • isSetRetryPolicy

      public boolean isSetRetryPolicy()
    • setSequenceExpiration

      public void setSequenceExpiration(Duration value)
      Sets the value of the sequenceExpiration property.
      Parameters:
      value - allowed object is Duration
      See Also:
    • isSetSequenceExpiration

      public boolean isSetSequenceExpiration()
    • getSequenceExpiration

      public Duration 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.