no.sesat.search.http.servlet
Class FactoryReloads

java.lang.Object
  extended by no.sesat.search.http.servlet.FactoryReloads

public final class FactoryReloads
extends Object

Utility class to remove factory instances for a given Site and its locale derivatives. The factory class to clean instances from is indicated by the value of ReloadArg. Also performs a System.gc() to clean out WeakReference caches.

Version:
$Id$

Nested Class Summary
static class FactoryReloads.ReloadArg
           
 
Method Summary
static void performReloads(SiteContext genericCxt, FactoryReloads.ReloadArg reload)
          Remove factory instances for a given Site and its locale derivatives.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

performReloads

public static void performReloads(SiteContext genericCxt,
                                  FactoryReloads.ReloadArg reload)
Remove factory instances for a given Site and its locale derivatives. The factory class to clean instances from is indicated by the value of ReloadArg. Also performs a System.gc() to clean out WeakReference caches.



Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.