Skip to main content
summaryrefslogtreecommitdiffstats
blob: 36a930dc7634d6281b36adc0556967364c532984 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import com.sun.jini.start.NonActivatableServiceDescriptor;
import com.sun.jini.start.ServiceDescriptor;

com.sun.jini.start {

    //
    // HTTPD Service
    //
    private static httpd_codebase = "";
    private static httpd_policy = "${osee.jini.config}/jsk-all.policy";
    private static httpd_classpath = "${osee.jini.install}/lib/classserver.jar";
    private static httpd_impl = "com.sun.jini.tool.ClassServer";
    private static httpd_service = 
        new NonActivatableServiceDescriptor(
            httpd_codebase, httpd_policy, httpd_classpath, httpd_impl,
            new String[]{"-port", "${osee.classserver.port}", "-dir", "${osee.jini.install}/lib-dl", "-verbose"});
	   
    //	   
    // Fiddler (Lookup Discovery Service)
    //
  
    //	   
    // Reggie (Lookup Service)
    //
    private static reggie_codebase = "http://${osee.classserver.host}:${osee.classserver.port}/reggie-dl.jar"
	+ " http://${osee.classserver.host}:${osee.classserver.port}/jsk-dl.jar";
    private static reggie_policy = "${osee.jini.config}/jsk-all.policy";
    private static reggie_classpath = "${osee.jini.install}/lib/reggie.jar";
    private static reggie_config = "${osee.jini.config}/transient-reggie.config";
    private static reggie_impl = "com.sun.jini.reggie.TransientRegistrarImpl";
    private static reggie_service = 
        new NonActivatableServiceDescriptor(
            reggie_codebase, reggie_policy, reggie_classpath, 
	    reggie_impl, new String[] { reggie_config });

    static serviceDescriptors = new ServiceDescriptor[] {
        httpd_service,
		reggie_service
    };
}

Back to the top