cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/components/crawler CocoonCrawler.java SimpleCocoonCrawlerImpl.java
Date Wed, 22 Oct 2003 22:04:25 GMT
unico       2003/10/22 15:04:25

  Modified:    src/java/org/apache/cocoon/components/crawler
                        CocoonCrawler.java SimpleCocoonCrawlerImpl.java
  Log:
  remove dependency on Component
  add avalon meta tags
  
  Revision  Changes    Path
  1.4       +2 -2      cocoon-2.2/src/java/org/apache/cocoon/components/crawler/CocoonCrawler.java
  
  Index: CocoonCrawler.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/crawler/CocoonCrawler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CocoonCrawler.java	6 Oct 2003 16:30:41 -0000	1.3
  +++ CocoonCrawler.java	22 Oct 2003 22:04:25 -0000	1.4
  @@ -62,7 +62,7 @@
    * @author <a href="mailto:berni_huber@a1.net">Bernhard Huber</a>
    * @version CVS $Id$
    */
  -public interface CocoonCrawler extends Component
  +public interface CocoonCrawler
   {
       /**
        * Role name of this avalon component.
  
  
  
  1.3       +10 -5     cocoon-2.2/src/java/org/apache/cocoon/components/crawler/SimpleCocoonCrawlerImpl.java
  
  Index: SimpleCocoonCrawlerImpl.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/crawler/SimpleCocoonCrawlerImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SimpleCocoonCrawlerImpl.java	6 Oct 2003 16:30:41 -0000	1.2
  +++ SimpleCocoonCrawlerImpl.java	22 Oct 2003 22:04:25 -0000	1.3
  @@ -50,7 +50,7 @@
    */
   package org.apache.cocoon.components.crawler;
   
  -import org.apache.avalon.excalibur.pool.Recyclable;
  +import org.apache.excalibur.mpool.Resettable;
   import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.configuration.Configurable;
   import org.apache.avalon.framework.configuration.Configuration;
  @@ -77,9 +77,14 @@
    *
    * @author     <a href="mailto:berni_huber@a1.net">Bernhard Huber</a>
    * @version CVS $Id$
  + * 
  + * @avalon.component
  + * @avalon.service type="CocoonCrawler"
  + * @x-avalon.lifestyle type="pooled"
  + * @x-avalon.info name="cocoon-crawler"
    */
   public class SimpleCocoonCrawlerImpl extends AbstractLogEnabled
  -        implements CocoonCrawler, Configurable, Disposable, Recyclable {
  +        implements CocoonCrawler, Configurable, Disposable, Resettable {
   
       /**
        * Config element name specifying expected link content-typ.
  @@ -310,7 +315,7 @@
       /**
        * recylcle this object, relasing resources
        */
  -    public void recycle() {
  +    public void reset() {
           crawled = null;
           urlsToProcess = null;
           urlsNextDepth = null;
  
  
  

Mime
View raw message