Package com.exonum.binding.core.service
Interface ServiceModule
- All Superinterfaces:
org.pf4j.ExtensionPoint
,com.google.inject.Module
- All Known Implementing Classes:
AbstractServiceModule
public interface ServiceModule
extends com.google.inject.Module, org.pf4j.ExtensionPoint
A service module configures the service bindings so that the framework can resolve
the service implementation and all its dependencies.
An implementation must at least configure the following bindings:
A service module implementation must be marked with Extension
annotation.
Implementations shall generally extend AbstractServiceModule
.
Currently, only a single module per service is supported; if you service needs several — please let us know.