WSRP 2 Quick Reference

Persistent Lifecycle renamed as "Enduring Lifecycle".

WSRP Resource = An entity (e.g. portlet referred via portletHandle) available on lease. Resource availability classified as:
  • Active
  • Suspended - Allows re-negotiation (e.g. payment of fee) between Consumer and Producer to get access to Suspended resource
  • Expunged
Persistent State is renamed as "Enduring State".

Consumer Mediated Coordination = Mechanisms to enable event driven Consumer applications
  • Event Distribution = Portlets can generate, consume events. Consumer can generate events for consumption by portlets.
  • State Distribution = Navigational state can be shared between multiple portlets and Consumer can distribute such state to coordinate navigational state updates across such portlets.
Three Step Protocol with handleEvents in between performBlockingOperation and getMarkup allowing Consumer to distribute events.

Interface Summary

Service Description
To get Producer's meta-data...two additional parameters...appended
ServiceDescription = getServiceDescription(RegistrationContext, desiredLocales, portletHandles, userContext);
Markup
Two new operations...

To get a resource...
MarkupResponse = getResource(registrationContext, portletContext, runtimeContext, userContext, markupParams, resourceParams);

To distribute events...
EventsResponse = handleEvents(registrationContext, portletContext, runtimeContext, userContext, markupParams, eventParams);
Registration
Two new operations...to manage lifetime of a registration, i.e. relationship between Consumer and Producer...

To get registration lifetime...
Lifetime = getRegistrationLifetime(registrationContext, userContext);

To set registration lifetime...
Lifetime = setRegistrationLifetime(registrationContext, userContext, lifeTime);
Portlet Management
A few new operations...to manage lifetime of portlet resources, and allowing copying, importing, exporting portlet (sets)...

To get portlets lifetime...
GetPortletsLifetimeResponse = getPortletsLifetime(registrationContext, portletContexts[], userContext);

To set portlets lifetime, i.e. change portlets scheduled destruction...
SetPortletsLifetimeResponse = setPortletsLifetime(registrationContext, portletContexts[], userContext, lifetime);

To copy set of portlets from one {registrationContext, userContext} to another such...
CopyPortletsResponse = copyPortlets(toRegistrationConetxt, toUserContext, fromRegistrationContext, fromUserContext, fromPortletContexts[], lifetime);

To allow re-incarnating portlets later via import, export portlets...
ExportPortletsResponse = exportPortlets(registrationContext, portletContexts[], userContext, lifetime, exportByValueRequired);

To import portlets previously exported...
ImportPortletsResponse = importPortlets(registrationContext, importContext, importPortlets[], userContext, lifetime);

To release export meta-data...
ReturnAny = releaseExport(exportContext, userContext);

To set lifetime of export meta-data...
Lifetime = setExportLifetime(registrationContext, exportContext, userContext, lifetime);

<script type="text/javascript" language="javascript"> var sc_project=1731913; var sc_invisible=0; var sc_partition=16; var sc_security="2f7c65d8"; </script> <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script>
Comments:

花木租摆 礼仪公司 交通

Posted by 花卉租赁 on July 04, 2007 at 12:12 PM IST #

鲜花礼品 搜索排名 鲜花礼品

Posted by scape on July 04, 2007 at 12:12 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

ajitsabnis

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today