KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > webman > wminstaller > install > CoreModInst


1 package de.webman.wminstaller.install;
2
3 import java.util.*;
4 import de.webman.wminstaller.app.*;
5
6
7 public class CoreModInst
8     implements ModuleInstaller
9 {
10     public String JavaDoc getName() {
11         return "Webman Core";
12     }
13     
14     public int pre(HashMap dict)
15         throws InstallationException
16     {
17         return INCLUDE;
18     }
19
20     public void install(HashMap dict)
21         throws InstallationException
22     {
23         String JavaDoc destdir = (String JavaDoc)dict.get(DictConstants.SELECTED_PATH);
24
25         System.out.println("Create destination dir ...");
26         System.out.println("Create config dir ...");
27         // TODO
28
}
29     
30     
31     public void configure(HashMap dict)
32         throws InstallationException
33     {
34         // TODO ??
35
}
36
37     public void post(HashMap dict)
38         throws InstallationException
39     {
40         // nop
41
}
42 }
43
Popular Tags