|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.SimpleTopicList
Simplistic in memory topic list.
| Field Summary | |
private ResourceProperty |
fixedTopicSet
|
protected java.util.Collection |
listeners
|
(package private) static org.apache.commons.logging.Log |
logger
|
private TopicListMetaData |
metaData
|
protected java.util.Map |
rootTopics
|
private ResourceProperty |
supportedTopics
|
private static TopicExpressionEngine |
topicExpressionEngine
|
| Constructor Summary | |
SimpleTopicList(ResourceProperties resource)
This constructor will add the resource properties associated with the notification producer porttype to the supplied resource object |
|
SimpleTopicList(ResourceProperties resource,
TopicListMetaData metaData)
This constructor will add the resource properties associated with the notification producer porttype to the supplied resource object |
|
| Method Summary | |
void |
addTopic(Topic topic)
Add a root topic |
void |
addTopicListener(TopicListener listener)
Add a topic listener |
Topic |
getTopic(java.util.List topicPath)
Get the topic for the given topic path. |
TopicListMetaData |
getTopicListMetaData()
Returns meta data associated with this topic list. |
java.util.Collection |
getTopics(TopicExpressionType topicExpression)
Get the set of topics the given topic expression resolves to |
void |
removeTopic(Topic topic)
Remove the root topic |
void |
removeTopicListener(TopicListener listener)
Remove a topic listener |
void |
topicAdded(Topic topic)
Called when a topic is added |
void |
topicChanged(Topic topic)
Called when the value of the topic changes |
java.util.Iterator |
topicIterator()
Iterator for the set of root topics |
java.util.Iterator |
topicListenerIterator()
Get a iterator for the list of TopicListeners. |
void |
topicRemoved(Topic topic)
Called when a topic is removed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Map rootTopics
protected java.util.Collection listeners
private ResourceProperty supportedTopics
private ResourceProperty fixedTopicSet
private static TopicExpressionEngine topicExpressionEngine
private TopicListMetaData metaData
static org.apache.commons.logging.Log logger
| Constructor Detail |
public SimpleTopicList(ResourceProperties resource)
resource - Resource object, must implement the ResourceProperties
interface
public SimpleTopicList(ResourceProperties resource,
TopicListMetaData metaData)
resource - Resource object, must implement the ResourceProperties
interface| Method Detail |
public void addTopic(Topic topic)
TopicList
addTopic in interface TopicListtopic - The topic to addpublic void addTopicListener(TopicListener listener)
TopicListenerList
addTopicListener in interface TopicListenerListlistener - The topic listener to addTopicListener
public java.util.Collection getTopics(TopicExpressionType topicExpression)
throws UnsupportedTopicExpressionDialectException,
TopicExpressionResolutionException,
InvalidTopicExpressionException,
TopicExpressionException
TopicList
getTopics in interface TopicListtopicExpression - The topic expression to resolve to a set of
topics
TopicExpressionException - if any other error occurs
InvalidTopicExpressionException - if the topic expression is invalid
UnsupportedTopicExpressionDialectException - if the topic expression dialect is not
supported
TopicExpressionResolutionException - if the expression could not be
evaluatedpublic void removeTopic(Topic topic)
TopicList
removeTopic in interface TopicListtopic - The topic to removepublic void removeTopicListener(TopicListener listener)
TopicListenerList
removeTopicListener in interface TopicListenerListlistener - The topic listener to remove.TopicListenerpublic java.util.Iterator topicListenerIterator()
TopicListenerListTopicListenerList instance.
topicListenerIterator in interface TopicListenerListTopicListenerpublic Topic getTopic(java.util.List topicPath)
TopicList
getTopic in interface TopicListtopicPath - The topic path (list of topic names)
public TopicListMetaData getTopicListMetaData()
TopicList
getTopicListMetaData in interface TopicListpublic java.util.Iterator topicIterator()
TopicList
topicIterator in interface TopicListpublic void topicAdded(Topic topic)
TopicListener
topicAdded in interface TopicListenertopic - The topic being addedpublic void topicChanged(Topic topic)
TopicListener
topicChanged in interface TopicListenertopic - The topic that changedpublic void topicRemoved(Topic topic)
TopicListener
topicRemoved in interface TopicListenertopic - The topic being removed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||