public synchronized Object getValue(String key) { if (!isValid) throw new IllegalStateException("session invalid"); return getAttribute(key); }
public synchronized Object getValue(String key) { if (!isValid) throw new IllegalStateException("session invalid"); return getAttribute(key); }
public synchronized Object getValue(String key) { if (!isValid) throw new IllegalStateException("session invalid"); return getAttribute(key); }
/** * Get the currently present action messages from the session. * @return the action messages */ public ActionMessages getActionMessagesFromSession() { return (ActionMessages)mockFactory.getMockSession().getAttribute(messageAttributeKey); }
/** * Get the currently present action errors from the session. * @return the action messages */ public ActionMessages getActionErrorsFromSession() { return (ActionMessages)mockFactory.getMockSession().getAttribute(errorAttributeKey); }
/** * Returns the session attribute for the specified key * @param key the session key * @return the attribute */ public Object getSessionAttribute(String key) { return mockFactory.getMockSession().getAttribute(key); }
/** * Get the currently present action messages from the session. * @return the action messages */ public ActionMessages getActionMessagesFromSession() { return (ActionMessages)mockFactory.getMockSession().getAttribute(messageAttributeKey); }
/** * Get the currently present action errors from the session. * @return the action messages */ public ActionMessages getActionErrorsFromSession() { return (ActionMessages)mockFactory.getMockSession().getAttribute(errorAttributeKey); }
/** * Get the currently present action messages from the session. * @return the action messages */ public ActionMessages getActionMessagesFromSession() { return (ActionMessages)mockFactory.getMockSession().getAttribute(messageAttributeKey); }
/** * Returns the session attribute for the specified key * @param key the session key * @return the attribute */ public Object getSessionAttribute(String key) { return mockFactory.getMockSession().getAttribute(key); }
/** * Get the currently present action errors from the session. * @return the action messages */ public ActionMessages getActionErrorsFromSession() { return (ActionMessages)mockFactory.getMockSession().getAttribute(errorAttributeKey); }
/** * Returns the session attribute for the specified key * @param key the session key * @return the attribute */ public Object getSessionAttribute(String key) { return mockFactory.getMockSession().getAttribute(key); }