org.objectweb.jorm.api

Interface PMapperListener

public interface PMapperListener

Allows to listen to mapper-related events.

Author:
P. Dechamboux

Method Summary

void
classMapped(ClassMappedEvent e)
Signals to this listener that a new persistent has been mapped in the mapper.
void
mappingRequired(PMappingRequiredEvent e)
Signlas to this listener that the mapper requires a particular JORM class to be mapped.

Method Details

classMapped

public void classMapped(ClassMappedEvent e)
Signals to this listener that a new persistent has been mapped in the mapper.

Parameters:
e - contains the class name of the persistent class. The source of the event is the mapper.


mappingRequired

public void mappingRequired(PMappingRequiredEvent e)
Signlas to this listener that the mapper requires a particular JORM class to be mapped.

Parameters:
e - The event that signals that a particular JORM class is required to be mapped by the mapper.