| java.lang.Object com.lutris.appserver.server.session.MemoryPersistence
MemoryPersistence | public class MemoryPersistence (Code) | | Title:
Description: Save in memory active and passive sessions during restart Enhydra applications
Copyright: Copyright (c) 2002
Company:
author: Dacha (damir@uns.ns.ac.yu) & Tufa (tufex@uns.ns.ac.yu) version: 1.1 |
getClassLoader | public static ClassLoader getClassLoader(String appName)(Code) | | Get ClassLoader (MultiClassLoader) for Enhydra Application.
This ClassLoader was set when application started first time.
ClassLoader is saved, because we need it to support MemoryPersistence.
Parameters: appName - application name ClassLoader for given application name |
removeClassLoader | public static void removeClassLoader(String appName)(Code) | | If SessionManager.MemoryPersistence = false in conf file, don't need to save
MultiClassLoader. This method is called when application shutdown.
Parameters: appName - application name. |
setClassLoader | public static void setClassLoader(String appName, ClassLoader cl)(Code) | | When application first time startup, it sets ClassLoader and use them
next time is restarting.
Parameters: appName - application name Parameters: cl - ClassLoader or NULL |
shutdown | public static void shutdown()(Code) | | When EnhydraServer stoped clean all.
|
|
|