use of org.apache.sling.nosql.generic.resource.impl.NoSqlResourceProvider in project sling by apache.
the class AbstractNoSqlResourceProviderFactory method getResourceProvider.
public final ResourceProvider getResourceProvider(Map<String, Object> authenticationInfo) throws LoginException {
NoSqlAdapter adapter = getNoSqlAdapter();
adapter.checkConnection();
adapter.createIndexDefinitions();
return new NoSqlResourceProvider(adapter, getEventAdmin());
}
Aggregations