1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package com.finalist.mmbase.modules;
16
17 /***
18 * The mmbase package interfaces has 3 methods that will be called by the MMbase package handler in the following order:
19 * -init
20 * -process
21 * -destroy
22 *
23 * @author Rudie Ekkelenkamp
24 * @version $Revision: 1.2 $, $Date: 2005/07/12 10:32:00 $
25 */
26 public interface MMBasePackageGenerator {
27
28 String DEFAULT_MMBASE_PACKAGE_GENERATOR = "com.finalist.mmbase.modules.DefaultMMBasePackageGenerator";
29
30 /***
31 * Initialize the Package generation.
32 * @param config configuration settings.
33 */
34 void init(MMBasePackageConfiguration config);
35
36 /***
37 * Do the actuall configuration.
38 * @param config configuration settings.
39 */
40 void process(MMBasePackageConfiguration config);
41
42 /***
43 * Destroy resources that were setup during initialization or processing.
44 * @param config configuration settings.
45 */
46 void destroy(MMBasePackageConfiguration config);
47 }