1 23 24 package org.objectweb.jorm.mapper.mem.metainfo; 25 26 import org.objectweb.jorm.metainfo.api.MappingFactory; 27 import org.objectweb.jorm.metainfo.api.Mapping; 28 import org.objectweb.jorm.metainfo.api.MetaObject; 29 import org.objectweb.jorm.metainfo.api.MappingPrinter; 30 import org.objectweb.jorm.metainfo.lib.BasicMetaObject; 31 32 36 public class BasicMemMappingFactory 37 extends BasicMetaObject 38 implements MappingFactory { 39 40 public BasicMemMappingFactory() { 41 super(null); 42 } 43 44 51 public Mapping createMapping(String mapperName, MetaObject parent) { 52 Mapping m = new BasicMemMapping(mapperName, parent); 53 setLoggingOnChild(m); 54 return m; 55 } 56 57 public MappingPrinter createMappingPrinter() { 58 return new MemMappingPrinter(); 59 } 60 } 61 | Popular Tags |