Package org.hibernate.search.spi
Interface ServiceProvider<T>
public interface ServiceProvider<T>
Control the life cycle of a service attached and used by Hibernate Search
It allows to:
- start the service
- stop the service
- declare the key the service is exposed to
TODO should it be the implementation name itself?
- provide access tot he service
-
Method Summary
-
Method Details
-
start
-
getService
T getService() -
stop
void stop()
-