Changeset 5321 for branches/release-0.13.x/pfixcore/src/org/pustefixframework/http/internal/FactoryInitWorker.java
- Timestamp:
- 08/27/10 10:57:34 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/release-0.13.x/pfixcore/src/org/pustefixframework/http/internal/FactoryInitWorker.java
r5179 r5321 99 99 100 100 private final static Object initLock = new Object(); 101 private static boolean init Running= false;101 private static boolean initialized = false; 102 102 103 103 public static void tryReloadLog4j() { … … 128 128 public static void init(ServletContext servletContext) throws ServletException { 129 129 synchronized (initLock) { 130 if (!initRunning) { 131 initRunning = true; 130 if (!initialized) { 132 131 (new FactoryInitWorker()).doInit(servletContext); 132 initialized = true; 133 133 } 134 134 }
