org.hibernate.search.spi
Interface ServiceProvider<T>
- All Known Implementing Classes:
- CacheManagerServiceProvider, JGroupsChannelProvider, MasterSelectorServiceProvider
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
- Author:
- Emmanuel Bernard
start
void start(Properties properties,
BuildContext context)
getService
T getService()
stop
void stop()
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved