|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.notification.topics.impl.TopicSpaceImpl
TODO
Constructor Summary | |
TopicSpaceImpl(java.lang.String targetNs)
|
Method Summary | |
Topic |
addTopic(java.lang.String name)
Creates a new Topic object with the specified name and adds it to this set. |
Topic |
addTopic(Topic topic)
Adds the specified topic to this set. |
void |
addTopicListener(TopicListener listener)
Add a topic listener |
boolean |
containsTopic(java.lang.String name)
Returns true if this set contains a topic with the specified name. |
java.lang.String |
getName()
Returns this topic space's name. |
java.lang.String |
getTargetNamespace()
Returns this topic space's target namespace. |
Topic |
getTopic(java.lang.String name)
Gets the topic with the specified name. |
void |
removeTopic(java.lang.String name)
Removes the topic with the specified name from this set. |
void |
removeTopicListener(TopicListener listener)
Remove a topic listener |
void |
setName(java.lang.String name)
|
java.util.Iterator |
topicIterator()
Gets an iterator of the topics in this set. |
java.util.Iterator |
topicListenerIterator()
Get a iterator for the list of TopicListeners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TopicSpaceImpl(java.lang.String targetNs)
Method Detail |
public java.lang.String getTargetNamespace()
TopicSpace
getTargetNamespace
in interface TopicSpace
public java.lang.String getName()
TopicSpace
getName
in interface TopicSpace
public void setName(java.lang.String name)
public Topic addTopic(Topic topic)
TopicSet
addTopic
in interface TopicSet
topic
- the topic to addpublic Topic addTopic(java.lang.String name) throws java.lang.Exception
TopicSet
addTopic
in interface TopicSet
name
- the name of the topic to add
java.lang.Exception
- if name is null, invalid (contains '/', '*', or '.'), or is the same as the name of a topic
already in this setpublic void removeTopic(java.lang.String name)
TopicSet
removeTopic
in interface TopicSet
name
- the name of the topic to removepublic Topic getTopic(java.lang.String name)
TopicSet
getTopic
in interface TopicSet
name
- the name of the topic to get
public boolean containsTopic(java.lang.String name)
TopicSet
containsTopic
in interface TopicSet
name
- the name
public java.util.Iterator topicIterator()
TopicSet
topicIterator
in interface TopicSet
public void addTopicListener(TopicListener listener)
TopicListenerList
addTopicListener
in interface TopicListenerList
listener
- The topic listener to addTopicListener
public void removeTopicListener(TopicListener listener)
TopicListenerList
removeTopicListener
in interface TopicListenerList
listener
- The topic listener to remove.TopicListener
public java.util.Iterator topicListenerIterator()
TopicListenerList
topicListenerIterator
in interface TopicListenerList
TopicListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |