|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildContext
Build context that can be used by some services at initialization
Method Summary | ||
---|---|---|
IndexManagerHolder |
getAllIndexesManager()
|
|
ErrorHandler |
getErrorHandler()
For backends processing work asynchronously, they should catch all eventual errors in the ErrorHandler to avoid losing information about the lost updates. |
|
String |
getIndexingStrategy()
|
|
ServiceManager |
getServiceManager()
Access the ServiceManager. |
|
SearchFactoryImplementor |
getUninitializedSearchFactory()
Returns the SessionFactoryImplementor instance. |
|
void |
releaseService(Class<? extends ServiceProvider<?>> provider)
Deprecated. use getServiceManager() instead |
|
|
requestService(Class<? extends ServiceProvider<T>> provider)
Deprecated. use getServiceManager() instead |
Method Detail |
---|
SearchFactoryImplementor getUninitializedSearchFactory()
void method() {
int size = sfi.getDirectoryProviders().size();
}
to
void method() {
int size = directoryProviders.size();
}
where directoryProviders is a class variable.
String getIndexingStrategy()
@Deprecated <T> T requestService(Class<? extends ServiceProvider<T>> provider)
getServiceManager()
instead
T
- class of the serviceprovider
- of the service
@Deprecated void releaseService(Class<? extends ServiceProvider<?>> provider)
getServiceManager()
instead
provider
- of the serviceServiceManager getServiceManager()
IndexManagerHolder getAllIndexesManager()
ErrorHandler getErrorHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |