Issue (View Online)

Key: NXP-449
Issue Type: Improvement Improvement
Status: In Progress In Progress
Priority: Major Major
Assignee: Dragos Mihalache
Reporter: Thierry Delprat
Original Estimate: 2 days
Time Spent: 2 days

Operations

View all
View comments
View history
Improve Caching System Activation 
Updated: 12/02/07 20:50   Created: 29/12/06 19:22  

The following comment has been added to this issue: [ Permlink ]

Author: Dragos Mihalache
Date: 12/02/07 20:49
Comment:
""
Facet management
----------------
Facets will store data associated to documentModels. Quickly, we need to
have a wait to keep them in the cache with the same life cycle than the
bare documentModel.
The facet are directly attached to the DM objects, but the facets are
transcients is order to avoid sending them back to the server when
sending DMs.

what opportunities we have
for intagrating facets data into the cached DM.

This means :
 - a clean interceptors deployment
 - a simple way to activate and desactivate the cache system

This probably means :
- configuring a Nuxeo Cache interception domain
= deploy a specific aop configuration :
nuxeo-cache-aop.xml
<aop>
 <stack name="NXCacheInterceptors">
  <interceptor class="org.nuxeo...."
               scope="PER_VM"
name="CacheInterceptor"/>
 </stack>

<domain name="Nuxeo Stateful CacheAware Bean"
        extends="Stateful Bean"
        inheritBindings="true">
 <bind pointcut="execution(* *->*(..))">
   <stack-ref name="NXCacheInterceptors"/>
 </bind>
</domain>

<domain name="Nuxeo Stateless CacheAware Bean"
        extends="Stateful Bean"
        inheritBindings="true">
 <bind pointcut="execution(* *->*(..))">
   <stack-ref name="NXCacheInterceptors"/>
 </bind>
</domain>
- put an annotation cache aware Seam components for this Domain
@org.jboss.annotation.ejb.AspectDomain("Nuxeo Stateful CacheAware Bean")


The activation of the client interceptor should be configurable via an
simple EP.


Project: Nuxeo Enterprise Platform 5
Fix Versions: 5.1 M2

 Description   
See related mail from TD.

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to