Mercurial > hg > blitz_stable
view config/serviceui-start21.config @ 25:c3e40ba8250a
Restore SearchStat to retain backward compatibility with older Blitz's particularly for Dashboard.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Fri, 28 Aug 2009 21:01:53 +0100 |
parents | 3dc0c5604566 |
children |
line wrap: on
line source
import com.sun.jini.start.ServiceDescriptor; import com.sun.jini.start.NonActivatableServiceDescriptor; import com.sun.jini.config.ConfigUtil; com.sun.jini.start { private static codebasePort = "8081"; private static codebase = ConfigUtil.concat(new Object[] { "http://", ConfigUtil.getHostName(), ":", codebasePort, "/", "blitz-dl.jar", " ", "http://", ConfigUtil.getHostName(), ":", codebasePort, "/", "blitzui.jar" }); // Should be updated by installer // JINI 2.0 libs should be in this directory private static jiniRoot = "/Users/dan/jini/jini2_1/lib/"; // Should be edited to point at the directory containing the je.jar // a version of which can be found in the dbjava directory of the // distribution // private static dbLib = "dbjava/je.jar"; // The directory where you installed Blitz // private static blitzRoot = "/Users/dan/src/jini/blitz_pj_05/"; private static blitzLib = ConfigUtil.concat(new Object[] { blitzRoot, "lib/" }); private static otherLib = ConfigUtil.concat(new Object[] { blitzRoot, "thirdpartylib/" }); private static separator = System.getProperty("path.separator"); static classpath = ConfigUtil.concat(new Object[] { jiniRoot, "jsk-lib.jar", separator, jiniRoot, "sun-util.jar", separator, dbLib, separator, blitzLib, "blitz.jar", separator, blitzLib, "blitzui.jar", separator, otherLib, "backport-util-concurrent50.jar", separator, otherLib, "serviceui-1.1.jar"}); private static config = ConfigUtil.concat(new Object[] { blitzRoot, "config/blitz-ui.config"}); private static policy = ConfigUtil.concat(new Object[] { blitzRoot, "config/policy.all"}); static serviceDescriptors = new ServiceDescriptor[] { // Blitz new NonActivatableServiceDescriptor( codebase, policy, classpath, "org.dancres.blitz.remote.BlitzServiceImpl", new String[] { config } )}; }