Interface SnContextFactory
- Type Parameters:
T- - the context type
- All Known Implementing Classes:
DefaultSnContextFactory,DefaultSnIndexContextFactory,DefaultSnIndexerBatchContextFactory,DefaultSnIndexerContextFactory,DefaultSnSearchContextFactory,DefaultSnSuggestContextFactory
public interface SnContextFactory
Implementations of this interface are responsible for creating instances of
SnContext.-
Method Summary
Modifier and TypeMethodDescriptioncreateContext(String indexTypeId) Creates a new instance ofSnContext.
-
Method Details
-
createContext
Creates a new instance ofSnContext.- Parameters:
indexTypeId- - the index type id- Returns:
- the new instance of
SnContext - Throws:
SnException- if an error occurs
-