Class ElasticsearchIndexLoader
- java.lang.Object
-
- org.apache.syncope.ext.elasticsearch.client.ElasticsearchIndexLoader
-
- All Implemented Interfaces:
SyncopeCoreLoader
,Ordered
public class ElasticsearchIndexLoader extends Object implements SyncopeCoreLoader
-
-
Field Summary
Fields Modifier and Type Field Description protected ElasticsearchIndexManager
indexManager
protected static Logger
LOG
-
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchIndexLoader(ElasticsearchIndexManager indexManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
void
load(String domain, DataSource datasource)
Perform init operations on the given domain.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.persistence.api.SyncopeCoreLoader
load, unload, unload
-
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
indexManager
protected final ElasticsearchIndexManager indexManager
-
-
Constructor Detail
-
ElasticsearchIndexLoader
public ElasticsearchIndexLoader(ElasticsearchIndexManager indexManager)
-
-
Method Detail
-
load
public void load(String domain, DataSource datasource)
Description copied from interface:SyncopeCoreLoader
Perform init operations on the given domain.- Specified by:
load
in interfaceSyncopeCoreLoader
- Parameters:
domain
- domain to initializedatasource
- db access for the given domain
-
-