Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7.1
-
Component/s: None
-
Labels:None
-
Environment:ICEfaces, Ajax Push
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
The current RenderManager API offers a high degree of control over server-initiated rendering, but provides more power than necessary for simple applications. The SessionRenderer provides a more basic API as follows:
public class org.icefaces.application.SessionRenderer extends java.lang.Object{
public static synchronized void addCurrentSession(java.lang.String groupName);
public static synchronized void removeCurrentSession(java.lang.String groupName);
public static void render(java.lang.String groupName);
}
A sample invocation, such as in the auctionMonitor would be
In a bean constructor:
SessionRenderer.addCurrentSession("auction");
When an event occurs:
SessionRenderer.render("auction");
The SessionRenderer is responsible for the maintenance of the lists of HttpSessions/PortletSessions. Lists of Views are obtained from the ICEfaces infrastructure. RenderingException is not passed to the application because, in this case, the application is only concerned with pushing updates to active users. If users are not active, they are automatically garbage collected.
public class org.icefaces.application.SessionRenderer extends java.lang.Object{
public static synchronized void addCurrentSession(java.lang.String groupName);
public static synchronized void removeCurrentSession(java.lang.String groupName);
public static void render(java.lang.String groupName);
}
A sample invocation, such as in the auctionMonitor would be
In a bean constructor:
SessionRenderer.addCurrentSession("auction");
When an event occurs:
SessionRenderer.render("auction");
The SessionRenderer is responsible for the maintenance of the lists of HttpSessions/PortletSessions. Lists of Views are obtained from the ICEfaces infrastructure. RenderingException is not passed to the application because, in this case, the application is only concerned with pushing updates to active users. If users are not active, they are automatically garbage collected.
Issue Links
- depends on
-
ICE-2742 Broadcast rendering API
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7.1 [ 10122 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16455 | Wed Apr 16 08:28:22 MDT 2008 | ted.goddard | new simple API for rendering all views in a session ( |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16546 | Tue Apr 29 15:55:13 MDT 2008 | ted.goddard | using ThreadPoolExecutor for view isolation and ContextEventRepeater for ThreadPool shutdown ( |
Files Changed | ||||
![]() |
Assignee | Jack Van Ooststroom [ jack.van.ooststroom ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16679 | Thu May 22 17:09:01 MDT 2008 | ted.goddard | remove using iterator during session expiry ( |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16694 | Fri May 23 17:56:12 MDT 2008 | ted.goddard | using ThreadPoolExecutor for view isolation and ContextEventRepeater for ThreadPool shutdown ( |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16758 | Fri May 30 15:46:57 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16759 | Fri May 30 15:47:52 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16802 | Wed Jun 04 16:44:29 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16803 | Wed Jun 04 16:47:28 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() ![]() ![]() |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Summary | SessionRenderer API | Add new SessionRenderer API |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial] |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Affects Version/s | 1.7RC1 [ 10123 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Assignee Priority | P1 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16906 | Mon Jun 16 14:32:38 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16907 | Mon Jun 16 14:33:07 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16908 | Mon Jun 16 14:33:37 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16909 | Mon Jun 16 16:45:47 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16910 | Mon Jun 16 16:46:47 MDT 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
![]() ![]() |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 | |
Assignee | Jack Van Ooststroom [ jack.van.ooststroom ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17258 | Wed Jul 30 13:44:09 MDT 2008 | ted.goddard | ported to SessionRenderer ( |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17259 | Wed Jul 30 13:44:23 MDT 2008 | ted.goddard | ported to SessionRenderer ( |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() |
Prototype implemented, pending checkin.