1 23 24 package org.objectweb.jorm.mapper.mem.generator; 25 26 import org.apache.velocity.context.Context; 27 import org.objectweb.jorm.generator.api.MOP; 28 import org.objectweb.jorm.generator.lib.CommonGenerator; 29 import org.objectweb.jorm.generator.lib.CommonHelper; 30 import org.objectweb.jorm.api.PException; 31 import org.objectweb.jorm.metainfo.api.Class; 32 33 38 public class MemBindingMOP extends CommonHelper implements MOP { 39 41 public void initContext(Context ctx, Class clazz, 42 String projectName, 43 String mapperName) throws PException { 44 } 45 46 public String [] getTemplateLibraries() { 47 String [] libs = {CommonGenerator.MAPPER_TEMPLATE_DIR + "mem/generator/MemBinding.vm"}; 48 return libs; 49 } 50 } 51 | Popular Tags |