source: branches/1.1.x/examples/google-app-engine/src/abcl_ae/AbclInit.java

Last change on this file was 12729, checked in by Mark Evenson, 14 years ago

Restore buildable state.

File size: 657 bytes
Line 
1package abcl_ae;
2
3import java.io.FileInputStream;
4import java.io.IOException;
5
6import org.armedbear.lisp.Lisp;
7import org.armedbear.lisp.Load;
8import org.armedbear.lisp.Interpreter;
9import org.armedbear.lisp.Symbol;
10import org.armedbear.lisp.Pathname;
11
12public final class AbclInit {
13  static private Object lock = new Object();
14  static private boolean initialized = false;
15
16  // package access level
17  static void init() {
18    if (initialized)
19      return;
20     
21    synchronized (lock) {
22      if (initialized)
23        return;
24       
25      Interpreter.initializeLisp();
26      Load.load("fasls/first-servlet.abcl");
27     
28      initialized = true;
29    }
30  }
31
32}
Note: See TracBrowser for help on using the repository browser.