org.objectweb.jorm.comp.generator.api
Interface MOPFactory

All Known Implementing Classes:
FileMOPFactory, RdbMOPFactory, MemoryMOPFactory, FosMOPFactory

public interface MOPFactory

This interface is used to specify Meta Object Protocol must be used to specialize the the generation of mapping objects and binding objects.


Method Summary
 MOP createBindingMOP(CompilerParameter cp)
          This method must return a new instance of a BindingMOP
 MOP createMappingMOP(CompilerParameter cp)
          This method must return a new instance of a MappingMOP
 

Method Detail

createMappingMOP

public MOP createMappingMOP(CompilerParameter cp)
                     throws PException
This method must return a new instance of a MappingMOP

createBindingMOP

public MOP createBindingMOP(CompilerParameter cp)
                     throws PException
This method must return a new instance of a BindingMOP