xmlBlaster 2.1.0 API

org.xmlBlaster.engine
Class TopicEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.xmlBlaster.engine.TopicEvent
All Implemented Interfaces:
java.io.Serializable

public class TopicEvent
extends java.util.EventObject

An event which indicates that a new TopicHandler is created or destroyed.

It carries the locked TopicHandler reference inside.

Author:
xmlBlaster@marcelruff.info
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TopicEvent(TopicHandler topicHandler)
          Constructs a TopicEvent object.
 
Method Summary
 TopicHandler getTopicHandler()
          Returns the originator of the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

TopicEvent

public TopicEvent(TopicHandler topicHandler)
Constructs a TopicEvent object.

Parameters:
source - the topicHandler object which changed its state
Method Detail

getTopicHandler

public TopicHandler getTopicHandler()
Returns the originator of the event.

Returns:
the TopicHandler which is locked (no other thread has access)

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.