01: package org.objectweb.celtix.tools.processors.wsdl2.internal;
02:
03: import java.util.logging.Logger;
04:
05: import org.objectweb.celtix.common.logging.LogUtils;
06: import org.objectweb.celtix.tools.common.ProcessorEnvironment;
07: import org.objectweb.celtix.tools.common.ToolConstants;
08: import org.objectweb.celtix.tools.processors.java2.JavaToWSDLProcessor;
09:
10: public abstract class AbstractProcessor {
11: protected static final Logger LOG = LogUtils
12: .getL7dLogger(JavaToWSDLProcessor.class);
13: protected ProcessorEnvironment env;
14:
15: protected ClassCollector collector;
16:
17: public AbstractProcessor(ProcessorEnvironment penv) {
18: this .env = penv;
19: this .collector = (ClassCollector) env
20: .get(ToolConstants.GENERATED_CLASS_COLLECTOR);
21: }
22:
23: }
|