org.hypergraphdb.event
Class HGListenerAtom
java.lang.Object
org.hypergraphdb.event.HGListenerAtom
public class HGListenerAtom
- extends java.lang.Object
This is a simple bean-like atom that can be used to register listeners that
will be automatically loaded when a HyperGraph is open. To configure such an
auto-loaded listeners, instantiate a HGListenerAtom, set the
event type and listener class properties and add it to a HyperGraph instance. The listener
will be automatically registered with the event manager the next time this HyperGraph
is opened. If the
listener should become effective right away, you will need to register it with
the event manager separately.
- Author:
- boris
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HGListenerAtom
public HGListenerAtom()
HGListenerAtom
public HGListenerAtom(java.lang.String eventClassName,
java.lang.String listenerClassName)
getEventClassName
public java.lang.String getEventClassName()
setEventClassName
public void setEventClassName(java.lang.String eventClassName)
getListenerClassName
public java.lang.String getListenerClassName()
setListenerClassName
public void setListenerClassName(java.lang.String listenerClassName)