|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by subscription resources. Exposes the information associated with a subscription request, as well as resource lifetime-related state.
Method Summary | |
org.apache.ws.addressing.EndpointReference |
getConsumerReference()
Gets the consumer EPR associated with this subscription. |
org.apache.ws.resource.properties.query.QueryExpression |
getPrecondition()
Gets the precondition associated with this subscription. |
NotificationProducerResource |
getProducerResource()
Gets the producer resource associated with this subscription. |
org.apache.ws.resource.properties.query.QueryExpression |
getSelector()
Gets the selector associated with this subscription. |
TopicExpression |
getTopicExpression()
Gets the topic expression associated with this subscription. |
boolean |
getUseNotify()
Wrap notification messages in the notify element? |
boolean |
isPaused()
Returns true if this subscription is currently paused, or false otherwise. |
void |
pause()
Temporarily suspends the delivery of notification messages for this subscription. |
void |
resume()
Resumes the delivery of notification messages for this subscription. |
void |
setEndpointReference(org.apache.ws.addressing.EndpointReference epr)
|
void |
setNotificationConsumer(NotificationConsumer notificationConsumer)
|
void |
setNotificationProducer(NotificationProducer notificationProducer)
|
void |
setPolicy(java.lang.Object policy)
|
void |
setPrecondition(org.apache.ws.resource.properties.query.QueryExpression precondition)
|
void |
setSelector(org.apache.ws.resource.properties.query.QueryExpression selector)
|
void |
setUseNotify(boolean useNotify)
|
Methods inherited from interface org.apache.ws.resource.PropertiesResource |
getResourcePropertySet, setResourcePropertySet |
Methods inherited from interface org.apache.ws.resource.Resource |
addTerminationListener, destroy, getEndpointReference, getID, init, setID |
Methods inherited from interface org.apache.ws.pubsub.Subscription |
getCreationTime, getFilters, getNotificationConsumer, getNotificationProducer, getSubscriptionEndConsumer, getTerminationTime, setTerminationTime, unsubscribe |
Methods inherited from interface org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource |
getCurrentTime, getTerminationTime, setTerminationTime |
Method Detail |
public TopicExpression getTopicExpression()
public org.apache.ws.resource.properties.query.QueryExpression getPrecondition()
public org.apache.ws.resource.properties.query.QueryExpression getSelector()
public boolean getUseNotify()
getUseNotify
in interface Subscription
public boolean isPaused()
public void pause() throws java.lang.Exception
java.lang.Exception
- if unable to suspend message deliverypublic void resume() throws java.lang.Exception
java.lang.Exception
- if unable to resume message deliverypublic NotificationProducerResource getProducerResource()
public void setEndpointReference(org.apache.ws.addressing.EndpointReference epr)
public void setNotificationConsumer(NotificationConsumer notificationConsumer)
public void setNotificationProducer(NotificationProducer notificationProducer)
public org.apache.ws.addressing.EndpointReference getConsumerReference()
public void setPolicy(java.lang.Object policy)
public void setPrecondition(org.apache.ws.resource.properties.query.QueryExpression precondition)
public void setSelector(org.apache.ws.resource.properties.query.QueryExpression selector)
public void setUseNotify(boolean useNotify)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |