|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for representing a topic. A topic is either a child of a parent topic or in the case of root topics a member of a topic list. Non-root topics have names without a namespace component.
TopicSpace
Method Summary | |
java.lang.Object |
getCurrentMessage()
Get the latest notification message published to this topic. |
java.lang.String |
getName()
Get the name of this topic. |
java.util.List |
getTopicPath()
Get the topic path. |
TopicExpression |
getTopicReference()
Get the topic expression for the topic(s) that this topic references. |
TopicSpace |
getTopicSpace()
gets the TopicSpace this Topic is part of |
boolean |
isReference()
Is this a topic reference? |
boolean |
isVisible()
Returns whether this Topic is visible or not. |
void |
publish(java.lang.Object msg)
Publish a notification message to this topic. |
void |
setTopicPath(java.util.List topicPath)
Set the topic path. |
void |
setTopicReference(TopicExpression topicPath)
Set the topic expression that resolves to a set of topics that this topic references. |
void |
setTopicSpace(TopicSpace topicSpace)
Set the TopicSpace this Topic is part of |
Methods inherited from interface org.apache.ws.notification.topics.TopicSet |
addTopic, addTopic, containsTopic, getTopic, removeTopic, topicIterator |
Methods inherited from interface org.apache.ws.notification.topics.TopicListenerList |
addTopicListener, removeTopicListener, topicListenerIterator |
Method Detail |
public java.lang.Object getCurrentMessage()
public java.lang.String getName()
public boolean isReference()
public void setTopicPath(java.util.List topicPath)
topicPath
- The topic path to associate with this topicpublic java.util.List getTopicPath()
public void setTopicReference(TopicExpression topicPath)
topicPath
- The topic expression to set.public TopicExpression getTopicReference()
public void setTopicSpace(TopicSpace topicSpace)
topicSpace
- The TopicSpace this Topic is part ofpublic TopicSpace getTopicSpace()
public boolean isVisible()
public void publish(java.lang.Object msg) throws java.lang.Exception
msg
- the notification message to be published
java.lang.Exception
- on error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |