cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r349136 - /cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlocksManager.java
Date Sat, 26 Nov 2005 19:08:04 GMT
Author: danielf
Date: Sat Nov 26 11:08:00 2005
New Revision: 349136

URL: http://svn.apache.org/viewcvs?rev=349136&view=rev
Log:
Getting Core didn't work in the webapp sample sitemap. Fixing that later.

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlocksManager.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlocksManager.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlocksManager.java?rev=349136&r1=349135&r2=349136&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlocksManager.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlocksManager.java Sat Nov 26
11:08:00 2005
@@ -62,7 +62,7 @@
 
     public void service(ServiceManager manager) throws ServiceException {
         this.serviceManager = manager;
-        this.core = (Core)this.serviceManager.lookup(Core.ROLE);
+        //this.core = (Core)this.serviceManager.lookup(Core.ROLE);
     }
 
     public void contextualize(Context context) throws ContextException {
@@ -126,8 +126,8 @@
             LifecycleHelper.dispose(blocksIter.next());
         }
         if (this.serviceManager != null) {
-            this.serviceManager.release(this.core);
-            this.core = null;
+            //this.serviceManager.release(this.core);
+            //this.core = null;
             this.serviceManager = null;            
         }
         this.blocks = null;



Mime
View raw message