01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.datatypes.processors;
11:
12: import org.mmbase.util.functions.Parameters;
13:
14: /**
15: * A parameterized commitprocessor factory creates {@link Processor}s, using {@link Parameters}.
16: *
17: * @author Michiel Meeuwissen
18: * @since MMBase-1.8
19: */
20:
21: public interface ParameterizedProcessorFactory {
22:
23: /**
24: * Creates a parameterized processor.
25: */
26: Processor createProcessor(Parameters parameters);
27:
28: /**
29: * Create empty <code>Parameters</code> object for use with {@link #createProcessor}.
30: */
31: Parameters createParameters();
32:
33: }
|