Package org.hightides.annotations.processor

Examples of org.hightides.annotations.processor.JarCloningProcessor


  @SuppressWarnings("unchecked")
  protected final void initializeProcessors() {   
    processorMap = new HashMap<Class, Processor>();
   
    // initialize the service processor
    JarCloningProcessor serviceProcessor = new JarCloningProcessor(
        PackageUtil.getProperties().getProperty("service.template.path"),
        PackageUtil.getProperties().getProperty("service.output.path"));
    serviceProcessor.setFilter(new OpentidesFilter());
    processorMap.put(Service.class, serviceProcessor);

    // initialize the dao processor
    JarCloningProcessor daoProcessor = new JarCloningProcessor(
        PackageUtil.getProperties().getProperty("dao.template.path"),
        PackageUtil.getProperties().getProperty("dao.output.path"));
    daoProcessor.setFilter(new OpentidesFilter());
    processorMap.put(Dao.class, daoProcessor);
   
    // initialize the controller processor
    JarCloningProcessor controllerProcessor = new JarCloningProcessor(
        PackageUtil.getProperties().getProperty("controller.template.path"),
        PackageUtil.getProperties().getProperty("controller.output.path"));
    controllerProcessor.setFilter(new OpentidesFilter());
    processorMap.put(Controller.class, controllerProcessor);
   
    // initialize the view/jsp processor
    JarCloningProcessor viewProcessor = new JarCloningProcessor(
        PackageUtil.getProperties().getProperty("jsp.template.path"),
        PackageUtil.getProperties().getProperty("jsp.output.path"));
    viewProcessor.setFilter(new OpentidesFilter());
    processorMap.put(Page.class, viewProcessor);
  }
View Full Code Here

TOP

Related Classes of org.hightides.annotations.processor.JarCloningProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.