jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r1449693 - /jackrabbit/oak/trunk/oak-solr-embedded/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/embedded/EmbeddedSolrServerProvider.java
Date Mon, 25 Feb 2013 13:04:13 GMT
Author: tommaso
Date: Mon Feb 25 13:04:13 2013
New Revision: 1449693

URL: http://svn.apache.org/r1449693
Log:
OAK-651 - added constructors to instantiate server provider

Modified:
    jackrabbit/oak/trunk/oak-solr-embedded/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/embedded/EmbeddedSolrServerProvider.java

Modified: jackrabbit/oak/trunk/oak-solr-embedded/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/embedded/EmbeddedSolrServerProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-solr-embedded/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/embedded/EmbeddedSolrServerProvider.java?rev=1449693&r1=1449692&r2=1449693&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-solr-embedded/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/embedded/EmbeddedSolrServerProvider.java
(original)
+++ jackrabbit/oak/trunk/oak-solr-embedded/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/embedded/EmbeddedSolrServerProvider.java
Mon Feb 25 13:04:13 2013
@@ -59,9 +59,18 @@ public class EmbeddedSolrServerProvider 
     private static final String SOLR_HTTP_PORT = "solr.http.port";
 
     private SolrServer solrServer;
+
     private String solrHome;
     private Integer solrHttpPort;
 
+    public EmbeddedSolrServerProvider() {
+    }
+
+    public EmbeddedSolrServerProvider(String solrHome, Integer solrHttpPort) {
+        this.solrHome = solrHome;
+        this.solrHttpPort = solrHttpPort;
+    }
+
     @Activate
     protected void activate(ComponentContext componentContext) throws Exception {
         solrHome = String.valueOf(componentContext.getProperties().get(SOLR_HOME_PATH));



Mime
View raw message