JMACS

org.jmacs
Class DiClients

java.lang.Object
  extended by org.jmacs.DiClients

public class DiClients
extends Object

utility class, for use in device-deployment code. The following occurs when this class is loaded:

  1. properties will be loaded from jmacsDi.properties. If this file is not found in the java class-path, a RuntimeException will be thrown.
  2. a security manager will be set, using the policy file jmacsDi.policy if found in the java class-path

Version:
$Id: DiClients.java 612 2006-07-03 08:07:38Z rob $
Author:
Rob Dickens

Method Summary
static ISpi getSpi()
          returns the service-provider interface, as determined by the org.jmacs.spiClassname property--default value com.lafros.jmacs.d.Spi.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSpi

public static ISpi getSpi()
returns the service-provider interface, as determined by the org.jmacs.spiClassname property--default value com.lafros.jmacs.d.Spi.

Throws:
RuntimeException - if fails

JMACS

jmacs.org