@Service(value=SolrDispatchFilterComponent.class) public class SolrDispatchFilterComponent extends Object
CoreContainer with a given
name at a given Path by using a SolrDispatchFilter.
This allows more customisation for publishing Solr CoreContainer as
the SolrServerPublishingComponent, but also requires a specific
configuration for earch CoreContainer to be published.
SolrServerPublishingComponent| Modifier and Type | Field and Description |
|---|---|
protected org.apache.felix.http.api.ExtHttpService |
extHttpService
Will only work within Felix!
|
static String |
PROPERTY_PREFIX_PATH |
static String |
PROPERTY_SERVER_NAME |
protected String |
serverName |
| Constructor and Description |
|---|
SolrDispatchFilterComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
protected void |
deactivate(org.osgi.service.component.ComponentContext context) |
protected void |
updateFilter(org.apache.solr.core.CoreContainer service)
A change was made to the tracked CoreContainer (adding ,removal, ranking change).
|
@Property public static final String PROPERTY_SERVER_NAME
@Property public static final String PROPERTY_PREFIX_PATH
@Reference protected org.apache.felix.http.api.ExtHttpService extHttpService
protected String serverName
@Activate
protected void activate(org.osgi.service.component.ComponentContext context)
throws org.osgi.service.cm.ConfigurationException,
javax.servlet.ServletException
org.osgi.service.cm.ConfigurationExceptionjavax.servlet.ServletExceptionprotected void updateFilter(org.apache.solr.core.CoreContainer service)
@Deactivate protected void deactivate(org.osgi.service.component.ComponentContext context)
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.