org.objectweb.jorm.api

Interface PMappingCallback

All Superinterfaces:
PMapper, PMappingStructuresManager

public interface PMappingCallback
extends PMapper

This is a control interface dedicated to the JORM mapping code.

Author:
P. Dechamboux

Fields inherited from interface org.objectweb.jorm.api.PMapper

JORMPROPFILE, PBINDINGAPPENDER, PCLASSMAPPINGAPPENDER

Method Summary

void
scheduleEvent(EventObject e)
Schedules an mapper-related event.

Methods inherited from interface org.objectweb.jorm.api.PMapper

addMapperEventListener, closeConnection, cn2mn, createGenClassMapping, getConnection, getConnection, getConnection, getConnectionFactory, getMapperName, getMetaInfoManager, getPMappingStructuresManager, getPTypeSpace, getPrefetchCache, lookup, map, map, map, removeMapperEventListener, setConnectionFactory, setMapperName, setPrefetchCache, start, stop, unmap

Methods inherited from interface org.objectweb.jorm.api.PMappingStructuresManager

addDependency, classDefined, declareClass, getPMapCluster, getPMapClusters, setLogger, setPMapper

Method Details

scheduleEvent

public void scheduleEvent(EventObject e)
            throws PException
Schedules an mapper-related event.

Parameters:
e - The event to be scheduled.

Throws:
PException - Cannot schedule this event.