[hibernate-commits] Hibernate SVN: r10277 - trunk/HibernateExt/metadata/src/java/org/hibernate/lucene/store
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Thu Aug 17 12:32:57 EDT 2006
Author: epbernard
Date: 2006-08-17 12:32:56 -0400 (Thu, 17 Aug 2006)
New Revision: 10277
Modified:
trunk/HibernateExt/metadata/src/java/org/hibernate/lucene/store/DirectoryProvider.java
Log:
javadoc
Modified: trunk/HibernateExt/metadata/src/java/org/hibernate/lucene/store/DirectoryProvider.java
===================================================================
--- trunk/HibernateExt/metadata/src/java/org/hibernate/lucene/store/DirectoryProvider.java 2006-08-17 16:07:03 UTC (rev 10276)
+++ trunk/HibernateExt/metadata/src/java/org/hibernate/lucene/store/DirectoryProvider.java 2006-08-17 16:32:56 UTC (rev 10277)
@@ -18,9 +18,12 @@
* @author Sylvain Vieujot
*/
public interface DirectoryProvider<TDirectory extends Directory> {
- /** get the information toi initialize the directory and build its hashCode */
+ /** get the information to initialize the directory and build its hashCode */
void initialize(Class<?> entity, Configuration cfg, Properties properties);
+ /**
+ * Returns an initialized Lucene Directory. This method call <b>must</b> be threadsafe
+ */
TDirectory getDirectory();
}
More information about the hibernate-commits
mailing list