directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1006314 - /directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/CacheService.java
Date Sun, 10 Oct 2010 15:52:59 GMT
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"
);



Mime
View raw message