[ 
https://issues.apache.org/jira/browse/PLUTO-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tuomas Kiviaho updated PLUTO-267:
---------------------------------

    Attachment: eventing.provided_jaxb_proposal2.120907_rev574692.patch

Here's the second part of provided JAXB proposal. Decision whether to allow 
event to be published or not is pushed to provider side as well. Reference to 
portlet window or at least descriptor is required in provider in order to do 
this so instead of simply adding it as parameter wasn't an option because that 
same parameter value may be required when firing portlets as well. Callback 
service contains already factory methods that implement this approach so I used 
the same technique. This gives also the possibility to cache portlet window 
(portletdd) derived data into the provider itself while remaining same event 
queue across the request. Clone could also be cached based on portlet window 
id, but I tried to keep the patch as simple as possible so EventProviderImpl 
again just got logic from StateAwareImpl with minimal changes.

BTW: I hope you don't remove the other getEventProvider method in the future, 
because I find it very useful for other purposes than what it has been 
currently used. Giving PortletContainer as a parameter for that one might come 
handy, but that's another issue then...

> Implementation of the new Eventing Model
> ----------------------------------------
>
>                 Key: PLUTO-267
>                 URL: https://issues.apache.org/jira/browse/PLUTO-267
>             Project: Pluto
>          Issue Type: New Feature
>    Affects Versions: 1.1-286-COMPATIBILITY, 1.1-286-trunk-merge
>            Reporter: Christian Raschka
>             Fix For: 1.1-286-COMPATIBILITY, 1.1-286-trunk-merge
>
>         Attachments: eventing.021106.patch, eventing.bugfixes.280807.patch, 
> eventing.fire_event_proposal.070607.patch, 
> eventing.fire_event_proposal.070607_2.patch, 
> eventing.moreeventsbug.051106.patch, 
> eventing.parameter_propagation.070607.patch, 
> eventing.parameter_saving.070607.patch, 
> eventing.provided_jaxb_proposal.020807.patch, 
> eventing.provided_jaxb_proposal.090907_r23.patch, 
> eventing.provided_jaxb_proposal.130807_r21.patch, 
> eventing.provided_jaxb_proposal.150807_r22.patch, 
> eventing.provided_jaxb_proposal2.120907_rev574692.patch, 
> eventing_0400807.patch, eventing_0400807_missingEventDefRefDD.patch, 
> eventing_rev14.240507.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to