Package net.ontopia.topicmaps.impl.rdbms
Class TopicEvents
- java.lang.Object
-
- net.ontopia.topicmaps.impl.rdbms.TopicEvents
-
- All Implemented Interfaces:
EventListenerIF
public class TopicEvents extends Object implements EventListenerIF
INTERNAL: Internal event listener class that handles topic events.
-
-
Field Summary
Fields Modifier and Type Field Description protected RDBMSTopicMapStore
store
protected Set<TopicIF>
topicsAdded
protected Set<TopicIF>
topicsModified
protected Map<TopicIF,TopicIF>
topicsRemoved
-
Constructor Summary
Constructors Constructor Description TopicEvents(RDBMSTopicMapStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
abortListeners()
protected void
addedTopic(TopicIF topic)
protected void
commitListeners()
void
processEvent(Object object, String event, Object new_value, Object old_value)
INTERNAL: A method that receives notification when an event has been triggered.protected void
registerListeners(EventManagerIF emanager)
protected void
removingTopic(TopicIF topic)
-
-
-
Constructor Detail
-
TopicEvents
public TopicEvents(RDBMSTopicMapStore store)
-
-
Method Detail
-
commitListeners
protected void commitListeners()
-
abortListeners
protected void abortListeners()
-
addedTopic
protected void addedTopic(TopicIF topic)
-
removingTopic
protected void removingTopic(TopicIF topic)
-
registerListeners
protected void registerListeners(EventManagerIF emanager)
-
processEvent
public void processEvent(Object object, String event, Object new_value, Object old_value)
Description copied from interface:EventListenerIF
INTERNAL: A method that receives notification when an event has been triggered.- Specified by:
processEvent
in interfaceEventListenerIF
-
-