org.hypergraphdb.event
Class HGLoadPredefinedTypeEvent

java.lang.Object
  extended by 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

Constructor Summary
HGLoadPredefinedTypeEvent(HGPersistentHandle typeHandle)
           
 
Method Summary
 HGPersistentHandle getTypeHandle()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HGLoadPredefinedTypeEvent

public HGLoadPredefinedTypeEvent(HGPersistentHandle typeHandle)
Method Detail

getTypeHandle

public HGPersistentHandle getTypeHandle()