jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1166245 - in /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons: ./ nodetype/ query/ query/qom/
Date Wed, 07 Sep 2011 16:07:23 GMT
Author: mduerig
Date: Wed Sep  7 16:07:22 2011
New Revision: 1166245

URL: http://svn.apache.org/viewvc?rev=1166245&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
clean up

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractReadableRepositoryService.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractRepositoryService.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoImpl.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/AbstractNodeType.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/NAryQueryNode.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/QueryNode.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/AbstractQOMNode.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ConstraintImpl.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DynamicOperandImpl.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/JoinConditionImpl.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/QueryObjectModelFactoryImpl.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/SourceImpl.java
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/StaticOperandImpl.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractReadableRepositoryService.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractReadableRepositoryService.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractReadableRepositoryService.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractReadableRepositoryService.java
Wed Sep  7 16:07:22 2011
@@ -76,8 +76,8 @@ public abstract class AbstractReadableRe
      * @throws ParseException            if an error occurs while parsing the CND.
      * @throws IllegalArgumentException  if {@code defaultWsp} is {@code null}
      */
-    public AbstractReadableRepositoryService(Map<String, QValue[]> descriptors, Map<String,
String> namespaces,
-            Reader cnd, List<String> wspNames, String defaultWsp)
+    protected AbstractReadableRepositoryService(Map<String, QValue[]> descriptors,
Map<String, String> namespaces,
+                                                Reader cnd, List<String> wspNames,
String defaultWsp)
             throws RepositoryException, IllegalArgumentException {
 
         super(descriptors, namespaces, cnd);

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractRepositoryService.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractRepositoryService.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractRepositoryService.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/AbstractRepositoryService.java
Wed Sep  7 16:07:22 2011
@@ -172,8 +172,8 @@ public abstract class AbstractRepository
         descriptors.putAll(descriptors);
     }
 
-    public AbstractRepositoryService(Map<String, QValue[]> descriptors, Map<String,
String> namespaces,
-        QNodeTypeDefinition[] nodeTypeDefs) throws RepositoryException {
+    protected AbstractRepositoryService(Map<String, QValue[]> descriptors, Map<String,
String> namespaces,
+                                        QNodeTypeDefinition[] nodeTypeDefs) throws RepositoryException
{
 
         this();
         this.descriptors.putAll(descriptors);
@@ -185,7 +185,7 @@ public abstract class AbstractRepository
         this.nodeTypeDefs.registerNodeTypes(nodeTypeDefs, true);
     }
 
-    public AbstractRepositoryService(Map<String, QValue[]> descriptors, Map<String,
String> namespaces, Reader cnd)
+    protected AbstractRepositoryService(Map<String, QValue[]> descriptors, Map<String,
String> namespaces, Reader cnd)
             throws RepositoryException {
 
         this();

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoImpl.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoImpl.java
Wed Sep  7 16:07:22 2011
@@ -43,7 +43,7 @@ public abstract class ItemInfoImpl imple
      * @param path     the path to this item.
      * @param isNode   if this item is a node.
      */
-    public ItemInfoImpl(Path path, boolean isNode) {
+    protected ItemInfoImpl(Path path, boolean isNode) {
         this.path = path;
         this.isNode = isNode;
     }

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/AbstractNodeType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/AbstractNodeType.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/AbstractNodeType.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/nodetype/AbstractNodeType.java
Wed Sep  7 16:07:22 2011
@@ -63,7 +63,7 @@ public abstract class AbstractNodeType i
      * @param resolver the name/path resolver of the session that created this
      *                 node type instance.
      */
-    public AbstractNodeType(QNodeTypeDefinition ntd, AbstractNodeTypeManager ntMgr, NamePathResolver
resolver) {
+    protected AbstractNodeType(QNodeTypeDefinition ntd, AbstractNodeTypeManager ntMgr, NamePathResolver
resolver) {
         this.ntd = ntd;
         this.ntMgr = ntMgr;
         this.resolver = resolver;

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/NAryQueryNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/NAryQueryNode.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/NAryQueryNode.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/NAryQueryNode.java
Wed Sep  7 16:07:22 2011
@@ -43,7 +43,7 @@ public abstract class NAryQueryNode<T ex
      *
      * @param parent the parent node.
      */
-    public NAryQueryNode(QueryNode parent) {
+    protected NAryQueryNode(QueryNode parent) {
         super(parent);
     }
 
@@ -54,7 +54,7 @@ public abstract class NAryQueryNode<T ex
      * @param parent   the parent node.
      * @param operands child nodes of this {@code NAryQueryNode}.
      */
-    public NAryQueryNode(QueryNode parent, T[] operands) {
+    protected NAryQueryNode(QueryNode parent, T[] operands) {
         super(parent);
         if (operands.length > 0) {
             this.operands = new ArrayList<T>();

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/QueryNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/QueryNode.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/QueryNode.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/QueryNode.java
Wed Sep  7 16:07:22 2011
@@ -76,7 +76,7 @@ public abstract class QueryNode {
      * @param parent the parent node, or {@code null} if this is the root
      *               node of a query tree.
      */
-    public QueryNode(QueryNode parent) {
+    protected QueryNode(QueryNode parent) {
         this.parent = parent;
     }
 

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/AbstractQOMNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/AbstractQOMNode.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/AbstractQOMNode.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/AbstractQOMNode.java
Wed Sep  7 16:07:22 2011
@@ -29,7 +29,7 @@ public abstract class AbstractQOMNode {
 
     protected final NamePathResolver resolver;
 
-    public AbstractQOMNode(NamePathResolver resolver) {
+    protected AbstractQOMNode(NamePathResolver resolver) {
         this.resolver = resolver;
     }
 

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ConstraintImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ConstraintImpl.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ConstraintImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ConstraintImpl.java
Wed Sep  7 16:07:22 2011
@@ -26,7 +26,7 @@ import javax.jcr.query.qom.Constraint;
  */
 public abstract class ConstraintImpl extends AbstractQOMNode implements Constraint {
 
-    public ConstraintImpl(NamePathResolver resolver) {
+    protected ConstraintImpl(NamePathResolver resolver) {
         super(resolver);
     }
 }

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DynamicOperandImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DynamicOperandImpl.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DynamicOperandImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DynamicOperandImpl.java
Wed Sep  7 16:07:22 2011
@@ -31,7 +31,7 @@ public abstract class DynamicOperandImpl
      */
     private final Name selectorName;
 
-    public DynamicOperandImpl(NamePathResolver resolver, Name selectorName) {
+    protected DynamicOperandImpl(NamePathResolver resolver, Name selectorName) {
         super(resolver);
         this.selectorName = selectorName;
     }

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/JoinConditionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/JoinConditionImpl.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/JoinConditionImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/JoinConditionImpl.java
Wed Sep  7 16:07:22 2011
@@ -27,7 +27,7 @@ public abstract class JoinConditionImpl
         extends AbstractQOMNode
         implements JoinCondition {
 
-    public JoinConditionImpl(NamePathResolver resolver) {
+    protected JoinConditionImpl(NamePathResolver resolver) {
         super(resolver);
     }
 }

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/QueryObjectModelFactoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/QueryObjectModelFactoryImpl.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/QueryObjectModelFactoryImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/QueryObjectModelFactoryImpl.java
Wed Sep  7 16:07:22 2011
@@ -72,7 +72,7 @@ public abstract class QueryObjectModelFa
      */
     private final NamePathResolver resolver;
 
-    public QueryObjectModelFactoryImpl(NamePathResolver resolver) {
+    protected QueryObjectModelFactoryImpl(NamePathResolver resolver) {
         this.resolver = resolver;
     }
 

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/SourceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/SourceImpl.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/SourceImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/SourceImpl.java
Wed Sep  7 16:07:22 2011
@@ -25,7 +25,7 @@ import javax.jcr.query.qom.Source;
  */
 public abstract class SourceImpl extends AbstractQOMNode implements Source {
 
-    public SourceImpl(NamePathResolver resolver) {
+    protected SourceImpl(NamePathResolver resolver) {
         super(resolver);
     }
 

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/StaticOperandImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/StaticOperandImpl.java?rev=1166245&r1=1166244&r2=1166245&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/StaticOperandImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/StaticOperandImpl.java
Wed Sep  7 16:07:22 2011
@@ -25,7 +25,7 @@ import javax.jcr.query.qom.StaticOperand
  */
 public abstract class StaticOperandImpl extends AbstractQOMNode implements StaticOperand
{
 
-    public StaticOperandImpl(NamePathResolver resolver) {
+    protected StaticOperandImpl(NamePathResolver resolver) {
         super(resolver);
     }
 }



Mime
View raw message