org.qi4j.index.solr
Class EmbeddedSolrService.EmbeddedSolrServiceMixin
java.lang.Object
org.qi4j.index.solr.EmbeddedSolrService.EmbeddedSolrServiceMixin
- All Implemented Interfaces:
- Composite, Identity, Activatable, ServiceComposite, EmbeddedSolrService
- Enclosing interface:
- EmbeddedSolrService
public abstract static class EmbeddedSolrService.EmbeddedSolrServiceMixin
- extends Object
- implements Activatable, EmbeddedSolrService
Field Summary |
org.apache.solr.core.CoreContainer |
coreContainer
|
org.apache.solr.client.solrj.embedded.EmbeddedSolrServer |
server
|
Method Summary |
void |
activate()
This is invoked on the service when the instance is being activated |
org.apache.solr.core.SolrCore |
getSolrCore()
|
org.apache.solr.client.solrj.SolrServer |
getSolrServer()
|
void |
passivate()
This is invoked on the service when the instance is being passivated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coreContainer
public org.apache.solr.core.CoreContainer coreContainer
server
public org.apache.solr.client.solrj.embedded.EmbeddedSolrServer server
EmbeddedSolrService.EmbeddedSolrServiceMixin
public EmbeddedSolrService.EmbeddedSolrServiceMixin()
activate
public void activate()
throws Exception
- Description copied from interface:
Activatable
- This is invoked on the service when the instance is being activated
- Specified by:
activate
in interface Activatable
- Throws:
Exception
- if service could not be activated
passivate
public void passivate()
throws Exception
- Description copied from interface:
Activatable
- This is invoked on the service when the instance is being passivated
- Specified by:
passivate
in interface Activatable
- Throws:
Exception
- if the service could not be passivated
getSolrServer
public org.apache.solr.client.solrj.SolrServer getSolrServer()
- Specified by:
getSolrServer
in interface EmbeddedSolrService
getSolrCore
public org.apache.solr.core.SolrCore getSolrCore()
- Specified by:
getSolrCore
in interface EmbeddedSolrService