public class IndexerDependenciesImpl extends AbstractComponent implements IndexerDependencies
IndexerDependencies
.Modifier and Type | Field and Description |
---|---|
private BrowsableResourceFactory |
browsableResourceFactory |
private ResourceSearchIndexer |
resourceSearchIndexer |
Constructor and Description |
---|
IndexerDependenciesImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
This method performs the actual
initialization . |
BrowsableResourceFactory |
getBrowsableResourceFactory()
This method gets the
BrowsableResourceFactory used to create resources for
locations . |
ResourceSearchIndexer |
getResourceSearchIndexer()
This method gets the
ResourceSearchIndexer used to update a single
resource in the search-index. |
void |
setBrowsableResourceFactory(BrowsableResourceFactory browsableResourceFactory) |
void |
setResourceSearchIndexer(ResourceSearchIndexer resourceSearchIndexer) |
doInitialized, getInitializationState, initialize
private BrowsableResourceFactory browsableResourceFactory
getBrowsableResourceFactory()
private ResourceSearchIndexer resourceSearchIndexer
getResourceSearchIndexer()
public BrowsableResourceFactory getBrowsableResourceFactory()
BrowsableResourceFactory
used to create resources for
locations
.getBrowsableResourceFactory
in interface IndexerDependencies
BrowsableResourceFactory
.@Inject public void setBrowsableResourceFactory(BrowsableResourceFactory browsableResourceFactory)
browsableResourceFactory
- is the browsableResourceFactory to setpublic ResourceSearchIndexer getResourceSearchIndexer()
ResourceSearchIndexer
used to update a single
resource
in the search-index.getResourceSearchIndexer
in interface IndexerDependencies
ResourceSearchIndexer
.@Inject public void setResourceSearchIndexer(ResourceSearchIndexer resourceSearchIndexer)
resourceSearchIndexer
- is the resourceSearchIndexer to setprotected void doInitialize()
initialization
. It is called when AbstractComponent.initialize()
is
invoked for the first time. super.
AbstractComponent.doInitialize()
.doInitialize
in class AbstractComponent
Copyright © 2001–2016 mmm-Team. All rights reserved.