epugh 2003/08/27 02:40:33
Modified: mimetype/xdocs index.xml
mimetype project.xml
Log:
Fix name of component. Add docs about component.
Revision Changes Path
1.2 +10 -13 jakarta-turbine-fulcrum/mimetype/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/mimetype/xdocs/index.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- index.xml 20 Aug 2003 13:41:17 -0000 1.1
+++ index.xml 27 Aug 2003 09:40:33 -0000 1.2
@@ -3,7 +3,7 @@
<document>
<properties>
- <title>Cache Component</title>
+ <title>Mimetype Component</title>
<author email="[EMAIL PROTECTED]">Eric PUgh</author>
</properties>
@@ -11,14 +11,11 @@
<section name="Overview">
<p>
- This Service functions as a Global Cache. A global cache is a good
- place to store items that you may need to access often but don't
- necessarily need (or want) to fetch from the database everytime. A
- good example would be a look up table of States that you store in a
- database and use throughout your application. Since information
- about States doesn't change very often, you could store this
- information in the Global Cache and decrease the overhead of
- hitting the database everytime you need State information.
+ The MimeType Service maintains mappings between MIME types and
+ the corresponding file name extensions, and between locales and
+ character encodings. The mappings are typically defined in
+ properties or files located in user's home directory, Java home
+ directory or the current class jar depending on the implementation.
</p>
<p>
@@ -37,9 +34,9 @@
<source>
<![CDATA[
<role
- name="org.apache.fulcrum.cache.GlobalCacheService"
- shorthand="cache"
- default-class="org.apache.fulcrum.cache.DefaultGlobalCacheService"/>
+ name="org.apache.fulcrum.mimetype.MimeTypeService"
+ shorthand="mimetype"
+ default-class="org.apache.fulcrum.mimetype.DefaultMimeTypeService"/>
]]>
</source>
@@ -49,7 +46,7 @@
<source>
<![CDATA[
- <cache cacheInitialSize="20" cacheCheckFrequency="5"/>
+ <mimetype/>
]]>
</source>
1.2 +2 -2 jakarta-turbine-fulcrum/mimetype/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/mimetype/project.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- project.xml 20 Aug 2003 13:41:17 -0000 1.1
+++ project.xml 27 Aug 2003 09:40:33 -0000 1.2
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<project>
<extend>${basedir}/../project.xml</extend>
- <id>fulcrum-cache</id>
- <name>Fulcrum Cache Component</name>
+ <id>fulcrum-mimetype</id>
+ <name>Fulcrum Mimetype Component</name>
<currentVersion>1.0-alpha-3</currentVersion>
<dependencies>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]