cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Christophe Kermagoret <...@bluexml.org>
Subject [Portal] Coplet instance pool
Date Thu, 01 Dec 2005 08:10:23 GMT
Hello,
Is there in the portal a way to create coplet instances in advance, to 
reduce the first connection overhead ? A kind of coplet instance pool 
that could be configured by profile ?

By the way, I saw in 2.1.8 the following configuration snippet in 
cocoon.xconf, with coplet-factory, 'auto-create' and store attributes 
that sound like keywords for me :-)

What is it for ?

<component
     class="org.apache.cocoon.portal.coplet.impl.DefaultCopletFactory"
     role="org.apache.cocoon.portal.coplet.CopletFactory">

     <coplets>
         <coplet
             class="org.apache.cocoon.portal.coplet.CopletData"
             name="standard">

             <coplet-data-aspects>
                 <aspect
                     auto-create="true" class="java.lang.Boolean"
                     name="sizable" store="memory" value="true"/>
                 <aspect
                     auto-create="true" class="java.lang.Boolean"
                     name="mandatory" store="memory" value="false"/>
             </coplet-data-aspects>

             <coplet-instance-data-aspects>
                 <aspect
                     auto-create="true" class="java.lang.Integer"
                     name="size" store="session" value="1"/>
                 <aspect
                     auto-create="true" class="java.lang.Boolean"
                     name="fullScreen" store="temporary" value="false"/>
             </coplet-instance-data-aspects>
         </coplet>
     </coplets>
   </component>

Jean-Christophe
-- 

BlueXML
Jean-Christophe Kermagoret
Directeur associƩ
jck@bluexml.org


Mime
View raw message