| java.lang.Object clime.messadmin.core.MessAdmin
MessAdmin | public class MessAdmin (Code) | | Manages actions on WebApp and Sessions. Used by admin servlet and JMX.
author: Cédrik LIME |
Method Summary | |
public static String | getVersion() | public static int | injectAllSessions(String context, String message) | public static int | injectApplicationsOnce(String[] applicationIds, String message) | public static int | injectApplicationsPermanent(String[] applicationIds, String message) | public static int | injectSessions(String context, String[] sessionIds, String message) | public static int | invalidateSessions(String context, String[] sessionIds) | public static boolean | removeSessionAttribute(String context, String sessionId, String attributeName) | public static int | setSessionMaxInactiveInterval(String context, String sessionId, int maxInactiveInterval) |
injectAllSessions | public static int injectAllSessions(String context, String message)(Code) | | If message if blank or null, remove HttpSession attribute, otherwise inject message into HttpSessions
Parameters: message - number of modified sessions |
injectApplicationsOnce | public static int injectApplicationsOnce(String[] applicationIds, String message)(Code) | | If message if blank or null, remove ServletContext attribute, otherwise inject message into ServletContext
Parameters: applicationIds - Parameters: message - number of modified sessions |
injectApplicationsPermanent | public static int injectApplicationsPermanent(String[] applicationIds, String message)(Code) | | If message if blank or null, remove ServletContext attribute, otherwise inject message into ServletContext
Parameters: applicationIds - Parameters: message - number of modified sessions |
injectSessions | public static int injectSessions(String context, String[] sessionIds, String message)(Code) | | If message if blank or null, remove HttpSession attribute, otherwise inject message into HttpSessions
Parameters: sessionIds - Parameters: message - number of modified sessions |
invalidateSessions | public static int invalidateSessions(String context, String[] sessionIds)(Code) | | Invalidate HttpSessions
Parameters: sessionIds - number of invalidated sessions |
removeSessionAttribute | public static boolean removeSessionAttribute(String context, String sessionId, String attributeName)(Code) | | Removes an attribute from an HttpSession
Parameters: sessionId - Parameters: attributeName - true if there was an attribute removed, false otherwise |
setSessionMaxInactiveInterval | public static int setSessionMaxInactiveInterval(String context, String sessionId, int maxInactiveInterval)(Code) | | Sets the maximum inactive interval (session timeout) an HttpSession
Parameters: sessionId - Parameters: maxInactiveInterval - in seconds old value for maxInactiveInterval |
|
|