jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r807718 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeStorageImpl.java
Date Tue, 25 Aug 2009 17:06:15 GMT
Author: mduerig
Date: Tue Aug 25 17:06:14 2009
New Revision: 807718

URL: http://svn.apache.org/viewvc?rev=807718&view=rev
Log:
JCR-2278: Move NodeTypeStorage to spi-commons and provide default implementation 
adding JavaDoc

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeStorageImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeStorageImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeStorageImpl.java?rev=807718&r1=807717&r2=807718&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeStorageImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/NodeTypeStorageImpl.java
Tue Aug 25 17:06:14 2009
@@ -29,6 +29,10 @@
 import org.apache.jackrabbit.spi.Name;
 import org.apache.jackrabbit.spi.QNodeTypeDefinition;
 
+/**
+ * This implementation of {@link NodeTypeStorage} keeps a map of the registered {@link QNodeTypeDefinition}
+ * in memory.
+ */
 public class NodeTypeStorageImpl implements NodeTypeStorage {
 
     private final Map<Name, QNodeTypeDefinition> definitions = new HashMap<Name,
QNodeTypeDefinition>();
@@ -37,6 +41,11 @@
         return definitions.values().iterator();
     }
 
+    /**
+     * This implementation returns an iterator over all registered {@link QNodeTypeDefinition}s
if
+     * <code>nodeTypeNames</code> is <code>null</code>.
+     * {@inheritDoc}
+     */
     public Iterator<QNodeTypeDefinition> getDefinitions(Name[] nodeTypeNames) throws
NoSuchNodeTypeException,
             RepositoryException {
 



Mime
View raw message