You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/10/10 17:52:59 UTC

svn commit: r1006314 - /directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/CacheService.java

Author: kayyagari
Date: Sun Oct 10 15:52:59 2010
New Revision: 1006314

URL: http://svn.apache.org/viewvc?rev=1006314&view=rev
Log:
o added some javadoc

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/CacheService.java

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/CacheService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/CacheService.java?rev=1006314&r1=1006313&r2=1006314&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/CacheService.java (original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/CacheService.java Sun Oct 10 15:52:59 2010
@@ -33,6 +33,11 @@ import org.slf4j.LoggerFactory;
 
 /**
  * A ehcache based cache service to be used for various caching requirement in the server. 
+ * 
+ * If a cache config file with the name {@link #DIRECTORY_CACHESERVICE_XML} is present in
+ * the "workdirectory" of the DirectoryService then that file will be used for configuring 
+ * the {@link CacheManager}, if not a default cache configuration file bundled along with 
+ * this class is used
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -61,7 +66,7 @@ public class CacheService
         }
 
         File configFile = new File( dirService.getWorkingDirectory(), DIRECTORY_CACHESERVICE_XML );
-        
+
         if ( !configFile.exists() )
         {
             LOG.info( "no custom cache configuration was set, loading the default cache configuration" );