cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgaw...@apache.org
Subject svn commit: r169367 - in /cocoon/blocks/unsupported/template/trunk: java/org/apache/cocoon/template/jxtg/script/DefaultScriptManager.java test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.xtest
Date Mon, 09 May 2005 21:51:35 GMT
Author: lgawron
Date: Mon May  9 14:51:34 2005
New Revision: 169367

URL: http://svn.apache.org/viewcvs?rev=169367&view=rev
Log:
make ScriptManager use transient store

Modified:
    cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/script/DefaultScriptManager.java
    cocoon/blocks/unsupported/template/trunk/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.xtest

Modified: cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/script/DefaultScriptManager.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/script/DefaultScriptManager.java?rev=169367&r1=169366&r2=169367&view=diff
==============================================================================
--- cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/script/DefaultScriptManager.java
(original)
+++ cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/script/DefaultScriptManager.java
Mon May  9 14:51:34 2005
@@ -45,7 +45,7 @@
 
     public void service(ServiceManager manager) throws ServiceException {
         this.manager = manager;
-        this.store = (Store) this.manager.lookup(Store.ROLE);
+        this.store = (Store) this.manager.lookup(Store.TRANSIENT_STORE);
     }
 
     public void dispose() {

Modified: cocoon/blocks/unsupported/template/trunk/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.xtest
URL: http://svn.apache.org/viewcvs/cocoon/blocks/unsupported/template/trunk/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.xtest?rev=169367&r1=169366&r2=169367&view=diff
==============================================================================
--- cocoon/blocks/unsupported/template/trunk/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.xtest
(original)
+++ cocoon/blocks/unsupported/template/trunk/test/org/apache/cocoon/template/jxtg/JXTemplateGeneratorTestCase.xtest
Mon May  9 14:51:34 2005
@@ -23,7 +23,7 @@
     <role name="org.apache.cocoon.generation.GeneratorSelector"
       shorthand="generators"
       default-class="org.apache.cocoon.core.container.StandaloneServiceSelector"/>
-    <role name="org.apache.excalibur.store.Store"
+    <role name="org.apache.excalibur.store.Store/TransientStore"
       shorthand="store"
       default-class="org.apache.excalibur.store.impl.MemoryStore"/>
   </roles>



Mime
View raw message