|
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.
|
|
See related mail from TD.
|
|
|
|
|
|
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets