1 23 24 package com.sun.ejb.codegen; 25 26 import java.io.File ; 27 import java.util.Collection ; 28 29 import com.sun.enterprise.deployment.*; 30 31 34 35 public interface CMPGenerator { 36 37 52 void init(EjbBundleDescriptor ejbBundleDescriptor, ClassLoader cl, 53 String bundlePathName) throws GeneratorException; 54 55 69 void init(EjbBundleDescriptor ejbBundleDescriptor, EjbcContext ctx, 70 String bundlePathName, String generatedXmlsPathName) 71 throws GeneratorException; 72 73 80 void generate(IASEjbCMPEntityDescriptor descr, File srcout, File classout) 81 throws GeneratorException; 82 83 89 Collection cleanup() throws GeneratorException; 90 91 98 Collection validate(IASEjbCMPEntityDescriptor descr); 99 100 } 101 | Popular Tags |