1 15 package org.apache.hivemind.lib.groovy; 16 17 import java.util.List ; 18 19 import org.apache.hivemind.ClassResolver; 20 import org.apache.hivemind.ErrorHandler; 21 import org.apache.hivemind.ModuleDescriptorProvider; 22 import org.apache.hivemind.Resource; 23 import org.apache.hivemind.impl.XmlModuleDescriptorProvider; 24 import org.apache.hivemind.parse.XmlResourceProcessor; 25 26 36 public class GroovyModuleDescriptorProvider extends XmlModuleDescriptorProvider implements 37 ModuleDescriptorProvider 38 { 39 43 public GroovyModuleDescriptorProvider(ClassResolver resolver, Resource resource) 44 { 45 super(resolver, resource); 46 } 47 48 52 public GroovyModuleDescriptorProvider(ClassResolver resolver, List resources) 53 { 54 super(resolver, resources); 55 } 56 57 protected XmlResourceProcessor getResourceProcessor(ClassResolver resolver, ErrorHandler handler) 58 { 59 return new GroovyScriptProcessor(resolver, handler); 60 } 61 } | Popular Tags |