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 | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces
ADD
/icefaces/trunk/icefaces/core/src/org
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces/application/SessionRenderer.java
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces/application
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java
|
| 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 | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/org/icefaces/application/SessionRenderer.java
|
| 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 | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/org/icefaces/application/SessionRenderer.java
|
| 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 | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/org/icefaces/application/SessionRenderer.java
|
| 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 | ||||
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces/x/core
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/DelayRenderer.java
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces/x/core/push
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/IntervalRenderer.java
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/GroupAsyncRenderer.java
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces/x/core/push/SessionRenderer.java
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces/x
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/RenderManager.java
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/AsyncRenderer.java
|
| 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 | ||||
DEL
/icefaces/trunk/icefaces/core/src/org/icefaces/application
|
| 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 | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/GroupAsyncRenderer.java
MODIFY
/icefaces/trunk/icefaces/core/src/org/icefaces/x/core/push/SessionRenderer.java
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
|
| 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 | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/org/icefaces/x/core/push/SessionRenderer.java
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/async/render/GroupAsyncRenderer.java
|
| 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 | ||||
ADD
/icefaces/branches/icefaces-1.7/icefaces/core/src/org/icefaces/x/core/push/package.html
ADD
/icefaces/branches/icefaces-1.7/icefaces/core/src/org/icefaces/x/package.html
|
| 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 | ||||
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces/x/core/push/package.html
|
| 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 | ||||
ADD
/icefaces/trunk/icefaces/core/src/org/icefaces/x/package.html
|
| 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 | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/org/icefaces/x/core/push/package.html
MODIFY
/icefaces/trunk/icefaces/core/src/org/icefaces/x/package.html
|
| 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 | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/org/icefaces/x/core/push/package.html
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/org/icefaces/x/package.html
|
| 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 | ||||
MODIFY
/icefaces/trunk/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/ChatState.java
MODIFY
/icefaces/trunk/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/AuctionBean.java
MODIFY
/icefaces/trunk/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/UserBean.java
MODIFY
/icefaces/trunk/icefaces/samples/auctionMonitor/web/WEB-INF/faces-config.xml
MODIFY
/icefaces/trunk/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/AuctionMonitorItemBean.java
|
| 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 | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/UserBean.java
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/AuctionBean.java
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/samples/auctionMonitor/web/WEB-INF/faces-config.xml
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/AuctionMonitorItemBean.java
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/ChatState.java
|

Prototype implemented, pending checkin.