[
http://jira.jboss.com/jira/browse/JBSEAM-2097?page=comments#action_12382310 ]
Norman Richards commented on JBSEAM-2097:
-----------------------------------------
I'm sure events aren't the only places you might want to do these things. Instead
of introducing new XML elements, maybe it would be better to simply make sure these types
of actions can be invoked via EL. For example:
<event type="...">
<action execute="#{cache.evictRegion('whatever')}" />
</event>
mapping events to cache updates.
--------------------------------
Key: JBSEAM-2097
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2097
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Reporter: Gavin King
Would be really nice to be able to say:
<event type="....">
<evict-cache region="...."/>
</event>
Perhaps we could even go so far as:
<event type="....">
<reset variable="...."/>
</event>
to reset context variables (though this one is more arguable).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira