Package com.exonum.binding.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.ExtensionPointA 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
Extensionannotation.Implementations shall generally extend
AbstractServiceModule.Currently, only a single module per service is supported; if you service needs several — please let us know.