org.hypergraphdb.event
Class HGLoadPredefinedTypeEvent
java.lang.Object
org.hypergraphdb.event.HGLoadPredefinedTypeEvent
- All Implemented Interfaces:
- HGEvent
public class HGLoadPredefinedTypeEvent
- extends java.lang.Object
- implements HGEvent
This event is triggered by the type system when the run-time instance of a
predefined type needs to be loaded in the cache. Applications should listen
to this event whenever predefined need to be loaded on demand and HyperGraph
cannot perform this task alone.
A listener is expected to add the predefined refered by the typeHandle
attribute of the event instance. Predefined types are added through a call to the
HGTypeSystem.addPredefinedType method.
- Author:
- Borislav Iordanov
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HGLoadPredefinedTypeEvent
public HGLoadPredefinedTypeEvent(HGPersistentHandle typeHandle)
getTypeHandle
public HGPersistentHandle getTypeHandle()