|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | 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.
TopicList| Method Summary | |
void |
addTopic(Topic topic)
Add a sub-topic. |
Object |
getCurrentMessage()
Get the current notification message if there is any |
QName |
getName()
Get the name of the topic. |
Topic |
getTopic(QName topicName)
Get the sub-topic with the given topic name |
List |
getTopicPath()
Get the topic path. |
TopicExpressionType |
getTopicReference()
Get the topic expression for the topic(s) that this topic references. |
boolean |
isReference()
Is this a topic reference? |
void |
notify(Object obj)
Send out a notification on this topic |
void |
removeTopic(Topic topic)
Remove a sub-topic |
void |
setTopicPath(List topicPath)
Set the topic path. |
void |
setTopicReference(TopicExpressionType topicPath)
Set the topic expression that resolves to a set of topics that this topic references. |
Iterator |
topicIterator()
Iterator for the set of child topics |
| Methods inherited from interface org.globus.wsrf.TopicListenerList |
addTopicListener, removeTopicListener, topicListenerIterator |
| Method Detail |
public void addTopic(Topic topic)
throws Exception
topic - The sub-topic to addException - public void removeTopic(Topic topic)
topic - The sub-topic to removepublic Topic getTopic(QName topicName)
topicName - The topic name of the sub topicpublic void setTopicReference(TopicExpressionType topicPath)
topicPath - The topic expression to set.public TopicExpressionType getTopicReference()
public void setTopicPath(List topicPath)
topicPath - The topic path to associate with this topicpublic List getTopicPath()
public QName getName()
public Object getCurrentMessage()
public void notify(Object obj)
throws Exception
obj - Object representation of the message to sendException - public boolean isReference()
public Iterator topicIterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||