cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject [C2]: Avalon Component Configuration
Date Tue, 10 Apr 2001 08:46:53 GMT
Hi,

I am trying to add new avalon components to the 
cocoon.xconf (yes, for caching of course....) and am
now a little bit confused about the format.

E.g. the parser has the following entries:
  <parser class="org.apache.cocoon.components.parser.JaxpParser"/>

 <role name="org.apache.cocoon.components.parser.Parser"
       shorthand="parser"
       default-class="org.apache.cocoon.components.parser.JaxpParser"/>

Is the first one obsolete? I thought the second declaration adds
a component with the role name "parser".

For the URL Factory I found:
  <url-factory>
    <protocol name="resource" class="org.apache.cocoon.components.url.ResourceURLFactory"/>
    <protocol name="context"  class="org.apache.cocoon.components.url.ContextURLFactory"/>
  </url-factory>

 <role name="org.apache.cocoon.components.url.URLFactory"
       shorthand="url-factory"
       default-class="org.apache.cocoon.components.url.URLFactoryImpl"/>

Is the second one the definition for the role and the first one the
configuration for this role? 

Carsten


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message