incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r882642 - /sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java
Date Fri, 20 Nov 2009 17:08:35 GMT
Author: cziegeler
Date: Fri Nov 20 17:08:31 2009
New Revision: 882642

URL: http://svn.apache.org/viewvc?rev=882642&view=rev
Log:
No default configuration as this doesn't make sense

Modified:
    sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java

Modified: sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java?rev=882642&r1=882641&r2=882642&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java
(original)
+++ sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java
Fri Nov 20 17:08:31 2009
@@ -130,7 +130,6 @@
 
         this.initProcessors();
 
-        this.addDefaultProcessors();
         this.factoryCache.start();
     }
 
@@ -143,24 +142,6 @@
     }
 
     /**
-     * Add the default configurations.
-     */
-    protected void addDefaultProcessors() {
-        // add default pipeline for html
-        this.addProcessor("*", "", new ProcessorConfigurationImpl(
-                new String[] {MIME_TYPE_HTML}, // content types
-                null, // paths,
-                new String[] {"html"}, // extensions
-                null, // resource types
-                -1,   // order
-                new ProcessingComponentConfigurationImpl("html-generator", null), // generator
config
-                null, // transformer config
-                new ProcessingComponentConfigurationImpl("html-serializer", null), // serializer
config
-                true  // process error response
-                ));
-    }
-
-    /**
      * Deactivate this component.
      * @param ctx
      */



Mime
View raw message