cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r567980 - in /cocoon/trunk: blocks/cocoon-cron/cocoon-cron-impl/src/main/java/org/apache/cocoon/components/cron/ core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ core/cocoon-thread/cocoon-thread-impl/src/main/jav...
Date Tue, 21 Aug 2007 06:47:02 GMT
Author: cziegeler
Date: Mon Aug 20 23:47:01 2007
New Revision: 567980

URL: http://svn.apache.org/viewvc?rev=567980&view=rev
Log:
Further refactoring of the thread module: remove setter methods from interfaces and move private
interface Queue to impl.

Added:
    cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/Queue.java
      - copied, changed from r567975, cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/Queue.java
Removed:
    cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/Queue.java
Modified:
    cocoon/trunk/blocks/cocoon-cron/cocoon-cron-impl/src/main/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/RunnableManager.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadFactory.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadPool.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/BoundedQueue.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultRunnableManager.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultThreadPool.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/LinkedQueue.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/SynchronousChannel.java
    cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/resources/META-INF/cocoon/spring/cocoon-thread-impl.xml

Modified: cocoon/trunk/blocks/cocoon-cron/cocoon-cron-impl/src/main/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-cron/cocoon-cron-impl/src/main/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-cron/cocoon-cron-impl/src/main/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
(original)
+++ cocoon/trunk/blocks/cocoon-cron/cocoon-cron-impl/src/main/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
Mon Aug 20 23:47:01 2007
@@ -528,7 +528,7 @@
         }
 
         initDataMap(jobDataMap, name, canRunConcurrently, params, objects);
-        
+
         final JobDetail detail = createJobDetail(name, jobDataMap);
 
         if (getLogger().isInfoEnabled()) {
@@ -550,7 +550,7 @@
         }
     }
 
-    protected JobDataMap initDataMap(JobDataMap jobDataMap, String jobName, boolean concurent,

+    protected JobDataMap initDataMap(JobDataMap jobDataMap, String jobName, boolean concurent,
                                      Parameters params, Map objects) {
         jobDataMap.put(DATA_MAP_NAME, jobName);
         jobDataMap.put(DATA_MAP_LOGGER, getLogger());
@@ -565,7 +565,7 @@
         }
         return jobDataMap;
     }
-    
+
     protected JobDetail createJobDetail(String name, JobDataMap jobDataMap) {
         final JobDetail detail = new JobDetail(name, DEFAULT_QUARTZ_JOB_GROUP, QuartzJobExecutor.class);
         detail.setJobDataMap(jobDataMap);
@@ -579,7 +579,7 @@
      *
      * @return QuartzThreadPool
      */
-    private QuartzThreadPool createThreadPool(final Configuration poolConfig) 
+    private QuartzThreadPool createThreadPool(final Configuration poolConfig)
     throws ServiceException {
         final int queueSize = poolConfig.getChild("queue-size").getValueAsInteger(-1);
         final int maxPoolSize = poolConfig.getChild("max-pool-size").getValueAsInteger(-1);
@@ -736,7 +736,7 @@
     protected Job createJobExecutor() {
         return new QuartzJobExecutor();
     }
-    
+
     /**
      * A QuartzThreadPool for the Quartz Scheduler based on Doug Leas concurrency utilities
PooledExecutor
      *
@@ -784,7 +784,8 @@
          * @see org.quartz.spi.QuartzThreadPool#shutdown(boolean)
          */
         public void shutdown(final boolean waitForJobsToComplete) {
-            this.executor.shutdown();
+            // the pool is managed by the runnable manager, so we should not shut it down
+            this.executor = null;
         }
     }
 }

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/RunnableManager.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/RunnableManager.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/RunnableManager.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/RunnableManager.java
Mon Aug 20 23:47:01 2007
@@ -24,13 +24,9 @@
  */
 public interface RunnableManager {
 
-    //~ Instance fields --------------------------------------------------------
-
     /** The role name */
     String ROLE = RunnableManager.class.getName();
 
-    //~ Methods ----------------------------------------------------------------
-
     /**
      * Create a shared ThreadPool with a specific {@link ThreadFactory}
      *
@@ -51,7 +47,7 @@
      * @param shutdownWaitTime After what time a normal shutdown should take
      *        into account if a graceful shutdown has not come to an end
      */
-    void createPool( String name,
+    ThreadPool createPool( String name,
                      int queueSize,
                      int maxPoolSize,
                      int minPoolSize,
@@ -92,6 +88,12 @@
                            String blockPolicy,
                            boolean shutdownGraceful,
                            int shutdownWaitTime );
+
+    /**
+     * Get a thread pool
+     * @param name The name of the thread pool or null for the default pool.
+     */
+    ThreadPool getPool( String name);
 
     /**
      * Immediate Execution of a runnable in the background

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadFactory.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadFactory.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadFactory.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadFactory.java
Mon Aug 20 23:47:01 2007
@@ -25,8 +25,6 @@
 public interface ThreadFactory
     extends EDU.oswego.cs.dl.util.concurrent.ThreadFactory {
 
-    //~ Methods ----------------------------------------------------------------
-
     /**
      * Set the daemon mode of created <code>Thread</code>s should have
      *

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadPool.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadPool.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadPool.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/ThreadPool.java
Mon Aug 20 23:47:01 2007
@@ -133,30 +133,6 @@
     void execute(Runnable command) throws InterruptedException;
 
     /**
-     * Set the blocking policy
-     *
-     * @param blockPolicy
-     *                The blocking policy value
-     */
-    void setBlockPolicy(String blockPolicy);
-
-    /**
-     * DOCUMENT ME!
-     *
-     * @param name
-     *                The name to set.
-     */
-    void setName(String name);
-
-    /**
-     * Sets the shutdownGraceful (true if graceful)
-     *
-     * @param shutdownGraceful
-     *                The shutdownGraceful to set.
-     */
-    void setShutdownGraceful(boolean shutdownGraceful);
-
-    /**
      * Returns true if shutdown is graceful
      *
      * @return Returns the shutdownGraceful.
@@ -164,14 +140,6 @@
     boolean isShutdownGraceful();
 
     /**
-     * Sets the shutdownWaitTime in milliseconds
-     *
-     * @param shutdownWaitTimeMs
-     *                The shutdownWaitTimeMs to set.
-     */
-    void setShutdownWaitTimeMs(int shutdownWaitTimeMs);
-
-    /**
      * Gets the shutdownWaitTime in milliseconds
      *
      * @return Returns the shutdownWaitTimeMs.
@@ -186,14 +154,6 @@
     long getKeepAliveTime();
 
     /**
-     * Sets the keepAliveTime in milliseconds
-     *
-     * @param keepAliveTime
-     *                the keepAliveTime to set
-     */
-    void setKeepAliveTime(long keepAliveTime);
-
-    /**
      * Gets the maximum pool size
      *
      * @return the maxPoolSize
@@ -201,14 +161,6 @@
     int getMaxPoolSize();
 
     /**
-     * Sets the maximum pool size
-     *
-     * @param maxPoolSize
-     *                the maxPoolSize to set
-     */
-    void setMaxPoolSize(int maxPoolSize);
-
-    /**
      * Gets the minimum pool size
      *
      * @return the minPoolSize
@@ -216,50 +168,11 @@
     int getMinPoolSize();
 
     /**
-     * Sets the minimum pool size
-     *
-     * @param minPoolSize
-     *                the minPoolSize to set
-     */
-    void setMinPoolSize(int minPoolSize);
-
-    /**
-     * Sets the priority of this thread pool: {@link Thread#MIN_PRIORITY},
-     * {@link Thread#NORM_PRIORITY}, or {@link Thread#MAX_PRIORITY}
-     *
-     * @param priority
-     *                the priority to set
-     */
-    void setPriority(int priority);
-
-    /**
-     * Sets the queue size of the thread pool
-     *
-     * @param queueSize
-     *                the queueSize to set
-     */
-    void setQueueSize(int queueSize);
-
-    /**
-     * Terminates all threads possibly awaiting processing all elements
-     * currently in queue.
-     */
-    void shutdown();
-
-    /**
      * Returns true if thread runs as daemon
      *
      * @return the daemon
      */
     boolean isDaemon();
-
-    /**
-     * Set to true if thread shall run as daemon
-     *
-     * @param daemon
-     *                the daemon to set
-     */
-    void setDaemon(boolean daemon);
 
     /**
      * Returns true if a shutDown method has succeeded in terminating all

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/BoundedQueue.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/BoundedQueue.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/BoundedQueue.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/BoundedQueue.java
Mon Aug 20 23:47:01 2007
@@ -16,7 +16,6 @@
  */
 package org.apache.cocoon.thread.impl;
 
-import org.apache.cocoon.thread.Queue;
 
 /**
  * Efficient array-based bounded buffer class. Adapted from CPJ, chapter 8,

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultRunnableManager.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultRunnableManager.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultRunnableManager.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultRunnableManager.java
Mon Aug 20 23:47:01 2007
@@ -143,14 +143,14 @@
      * @throws IllegalArgumentException
      *             If the pool already exists
      */
-    public void createPool(final String name, final int queueSize, final int maxPoolSize,
final int minPoolSize,
+    public ThreadPool createPool(final String name, final int queueSize, final int maxPoolSize,
final int minPoolSize,
                     final int priority, final boolean isDaemon, final long keepAliveTime,
final String blockPolicy,
                     final boolean shutdownGraceful, final int shutdownWaitTimeMs) {
         if (null != pools.get(name)) {
             throw new IllegalArgumentException("ThreadPool \"" + name + "\" already exists");
         }
 
-        final ThreadPool pool = new DefaultThreadPool();
+        final DefaultThreadPool pool = new DefaultThreadPool();
         pool.setName(name);
         pool.setQueueSize(queueSize);
         pool.setMaxPoolSize(maxPoolSize);
@@ -163,6 +163,7 @@
         synchronized (pools) {
             pools.put(pool.getName(), pool);
         }
+        return pool;
     }
 
     /**
@@ -196,7 +197,7 @@
     public ThreadPool createPool(final int queueSize, final int maxPoolSize, final int minPoolSize,
final int priority,
                     final boolean isDaemon, final long keepAliveTime, final String blockPolicy,
                     final boolean shutdownGraceful, final int shutdownWaitTime) {
-        final ThreadPool pool = new DefaultThreadPool();
+        final DefaultThreadPool pool = new DefaultThreadPool();
         final String name = "anon-" + pool.hashCode();
         pool.setName(name);
         pool.setQueueSize(queueSize);
@@ -212,6 +213,18 @@
         }
 
         return pool;
+    }
+
+    /**
+     * @see org.apache.cocoon.thread.RunnableManager#getPool(java.lang.String)
+     */
+    public ThreadPool getPool(String name) {
+        if ( name == null ) {
+            name = ThreadPool.DEFAULT_THREADPOOL_NAME;
+        }
+        synchronized (pools) {
+            return (ThreadPool)pools.get(name);
+        }
     }
 
     /**

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultThreadPool.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultThreadPool.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultThreadPool.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/DefaultThreadPool.java
Mon Aug 20 23:47:01 2007
@@ -16,7 +16,6 @@
  */
 package org.apache.cocoon.thread.impl;
 
-import org.apache.cocoon.thread.Queue;
 import org.apache.cocoon.thread.RunnableManager;
 import org.apache.cocoon.thread.ThreadFactory;
 import org.apache.cocoon.thread.ThreadPool;

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/LinkedQueue.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/LinkedQueue.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/LinkedQueue.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/LinkedQueue.java
Mon Aug 20 23:47:01 2007
@@ -16,7 +16,6 @@
  */
 package org.apache.cocoon.thread.impl;
 
-import org.apache.cocoon.thread.Queue;
 
 /**
  * A linked list based channel implementation. The algorithm avoids contention
@@ -38,7 +37,7 @@
     //~ Methods ----------------------------------------------------------------
 
     /**
-     * @see org.apache.cocoon.thread.Queue#getQueueSize()
+     * @see org.apache.cocoon.thread.impl.Queue#getQueueSize()
      */
     public int getQueueSize() {
         return -1;

Copied: cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/Queue.java
(from r567975, cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/Queue.java)
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/Queue.java?p2=cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/Queue.java&p1=cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/Queue.java&r1=567975&r2=567980&rev=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-api/src/main/java/org/apache/cocoon/thread/Queue.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/Queue.java
Mon Aug 20 23:47:01 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.cocoon.thread;
+package org.apache.cocoon.thread.impl;
 
 /**
  * Extension to add queue size reporting

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/SynchronousChannel.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/SynchronousChannel.java?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/SynchronousChannel.java
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/java/org/apache/cocoon/thread/impl/SynchronousChannel.java
Mon Aug 20 23:47:01 2007
@@ -16,7 +16,6 @@
  */
 package org.apache.cocoon.thread.impl;
 
-import org.apache.cocoon.thread.Queue;
 
 import EDU.oswego.cs.dl.util.concurrent.CyclicBarrier;
 import EDU.oswego.cs.dl.util.concurrent.Rendezvous;
@@ -52,7 +51,7 @@
     //~ Methods ----------------------------------------------------------------
 
     /**
-     * @see org.apache.cocoon.thread.Queue#getQueueSize()
+     * @see org.apache.cocoon.thread.impl.Queue#getQueueSize()
      */
     public int getQueueSize(){
         return 0;

Modified: cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/resources/META-INF/cocoon/spring/cocoon-thread-impl.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/resources/META-INF/cocoon/spring/cocoon-thread-impl.xml?rev=567980&r1=567979&r2=567980&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/resources/META-INF/cocoon/spring/cocoon-thread-impl.xml
(original)
+++ cocoon/trunk/core/cocoon-thread/cocoon-thread-impl/src/main/resources/META-INF/cocoon/spring/cocoon-thread-impl.xml
Mon Aug 20 23:47:01 2007
@@ -30,8 +30,8 @@
       | This component manages commands (Runnables) executed in background using
       | preconfigured pools of worker threads
       +-->
-  <bean name="org.apache.cocoon.components.thread.RunnableManager"
-        class="org.apache.cocoon.components.thread.DefaultRunnableManager"
+  <bean name="org.apache.cocoon.thread.RunnableManager"
+        class="org.apache.cocoon.thread.impl.DefaultRunnableManager"
         scope="singleton" init-method="init" destroy-method="destroy">
     <!--+
         | This is the default configuration of the runnable-manager. More
@@ -42,7 +42,7 @@
         | threadPools:       container element for thread-pool elements.
         +-->
     <property name="workerThreadPools">
-      <configurator:bean-map type="org.apache.cocoon.components.thread.ThreadPool" strip-prefix="true"/>
+      <configurator:bean-map type="org.apache.cocoon.thread.ThreadPool" strip-prefix="true"/>
     </property>
   </bean>
   
@@ -50,8 +50,8 @@
       | This is the default thread pool. It's use fits best for short
       | running background tasks.
       +-->
-  <bean name="org.apache.cocoon.components.thread.ThreadPool/default"
-        class="org.apache.cocoon.components.thread.DefaultThreadPool"
+  <bean name="org.apache.cocoon.thread.ThreadPool/default"
+        class="org.apache.cocoon.thread.impl.DefaultThreadPool"
         init-method="init" scope="singleton">
     <!--+
         | More indepth information can be found at
@@ -123,7 +123,7 @@
         +-->
     <property name="shutdownWaitTimeMs" value="-1" />
     <!--+
-        | specifies the fully qualified class name of an org.apache.cocoon.components.thread.ThreadFactory
+        | specifies the fully qualified class name of an org.apache.cocoon.thread.ThreadFactory
         | implementation. It is responsible to create Thread classes.
         +-->
     <property name="factory" ref="defaultThreadFactory"/>
@@ -133,8 +133,8 @@
       | This thread pool should be used for daemons (permanently running
       | threads).
       +-->
-  <bean name="org.apache.cocoon.components.thread.ThreadPool/daemon"
-        class="org.apache.cocoon.components.thread.DefaultThreadPool"
+  <bean name="org.apache.cocoon.thread.ThreadPool/daemon"
+        class="org.apache.cocoon.thread.impl.DefaultThreadPool"
         init-method="init" scope="singleton">
     <property name="name" value="daemon"/>
     <property name="poolPriority" value="NORM"/>
@@ -149,5 +149,5 @@
     <property name="factory" ref="defaultThreadFactory"/>
   </bean>
   
-  <bean id="defaultThreadFactory" class="org.apache.cocoon.components.thread.DefaultThreadFactory"
scope="prototype" />
+  <bean id="defaultThreadFactory" class="org.apache.cocoon.thread.impl.DefaultThreadFactory"
scope="prototype" />
 </beans>



Mime
View raw message