|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A resource that implements the WS-BaseNotification NotificationProducer portType.
Provides access to the resource's TopicSet
and
ResourcePropertySet
.
Method Summary | |
java.lang.Object |
getCurrentMessage(TopicExpression topicExpr)
Returns the current message for the specified topic (i.e. |
TopicSet |
getTopicSet()
Returns the set of topics supported by this NotificationProducer. |
void |
publish(TopicExpression topic,
java.lang.Object msg)
Publishes the given message to the topic identified by the given topic expression. |
org.apache.ws.addressing.EndpointReference |
subscribe(org.apache.ws.addressing.EndpointReference consumerEPR,
TopicExpression topicExpr,
java.lang.Boolean useNotify,
org.apache.ws.resource.properties.query.QueryExpression precondition,
org.apache.ws.resource.properties.query.QueryExpression selector,
java.lang.Object subscriptionPolicy,
java.util.Calendar initialTerminationtime)
Subscribe to the topic(s) indicated by the specified topic expression. |
Methods inherited from interface org.apache.ws.resource.PropertiesResource |
getResourcePropertySet, setResourcePropertySet |
Methods inherited from interface org.apache.ws.resource.Resource |
addTerminationListener, destroy, getEndpointReference, getID, getNamespaceSet, init, setEndpointReference, setID |
Method Detail |
public java.lang.Object getCurrentMessage(TopicExpression topicExpr) throws InvalidTopicExpressionException, org.apache.ws.notification.base.impl.TopicNotSupportedException, org.apache.ws.notification.base.impl.NoCurrentMessageOnTopicException
topicExpr
- a topic expression describing EXACTLY ONE topic
InvalidTopicExpressionException
org.apache.ws.notification.base.impl.TopicNotSupportedException
org.apache.ws.notification.base.impl.NoCurrentMessageOnTopicException
public TopicSet getTopicSet()
public void publish(TopicExpression topic, java.lang.Object msg) throws org.apache.ws.notification.base.impl.TopicNotSupportedException, InvalidTopicExpressionException, org.apache.ws.notification.base.impl.MessageTypeNotSupportedException
topic
- a topic expression describing EXACTLY ONE topicmsg
- the notification message to be published - may be a Node
or an XmlObject
org.apache.ws.notification.base.impl.TopicNotSupportedException
InvalidTopicExpressionException
org.apache.ws.notification.base.impl.MessageTypeNotSupportedException
public org.apache.ws.addressing.EndpointReference subscribe(org.apache.ws.addressing.EndpointReference consumerEPR, TopicExpression topicExpr, java.lang.Boolean useNotify, org.apache.ws.resource.properties.query.QueryExpression precondition, org.apache.ws.resource.properties.query.QueryExpression selector, java.lang.Object subscriptionPolicy, java.util.Calendar initialTerminationtime) throws org.apache.ws.notification.base.impl.SubscribeCreationFailedException, InvalidTopicExpressionException, TopicPathDialectUnknownException
consumerEPR
- topicExpr
- useNotify
- precondition
- selector
- subscriptionPolicy
- initialTerminationtime
-
org.apache.ws.notification.base.impl.SubscribeCreationFailedException
InvalidTopicExpressionException
TopicPathDialectUnknownException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |