Apache CXF API

org.apache.cxf.ws.eventing.backend.database
Class SubscriptionTicket

java.lang.Object
  extended by org.apache.cxf.ws.eventing.backend.database.SubscriptionTicket

public class SubscriptionTicket
extends Object

This class represents a valid subscription granted to a requesting client. Instances of such tickets are stored in a SubscriptionDatabase.


Constructor Summary
SubscriptionTicket()
           
 
Method Summary
 DeliveryType getDelivery()
           
 EndpointReferenceType getEndTo()
           
 String getEndToURL()
          Convenience method to extract the subscribed target URL.
 XMLGregorianCalendar getExpires()
           
 FilterType getFilter()
           
 String getFilterString()
           
 ReferenceParametersType getNotificationReferenceParams()
           
 String getTargetURL()
          Convenience method to extract the subscribed target URL.
 UUID getUuid()
           
 boolean isExpired()
           
 boolean isNonExpiring()
           
 boolean isWrappedDelivery()
           
 void setDelivery(DeliveryType delivery)
           
 void setEndTo(EndpointReferenceType endTo)
           
 void setExpires(XMLGregorianCalendar expires)
           
 void setFilter(FilterType filter)
           
 void setNonExpiring(boolean nonExpiring)
           
 void setUuid(UUID uuid)
           
 void setWrappedDelivery(boolean wrappedDelivery)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionTicket

public SubscriptionTicket()
Method Detail

getExpires

public XMLGregorianCalendar getExpires()

getEndTo

public EndpointReferenceType getEndTo()

setEndTo

public void setEndTo(EndpointReferenceType endTo)

getDelivery

public DeliveryType getDelivery()

setDelivery

public void setDelivery(DeliveryType delivery)

getFilter

public FilterType getFilter()

setFilter

public void setFilter(FilterType filter)

isExpired

public boolean isExpired()

setExpires

public void setExpires(XMLGregorianCalendar expires)

getUuid

public UUID getUuid()

setUuid

public void setUuid(UUID uuid)

getTargetURL

public String getTargetURL()
Convenience method to extract the subscribed target URL.

Returns:

getEndToURL

public String getEndToURL()
Convenience method to extract the subscribed target URL.

Returns:

getFilterString

public String getFilterString()

isWrappedDelivery

public boolean isWrappedDelivery()

setWrappedDelivery

public void setWrappedDelivery(boolean wrappedDelivery)

getNotificationReferenceParams

public ReferenceParametersType getNotificationReferenceParams()

isNonExpiring

public boolean isNonExpiring()

setNonExpiring

public void setNonExpiring(boolean nonExpiring)

Apache CXF API

Apache CXF