Uses of Interface
io.github.pustike.inject.bind.Module
Package | Description |
---|---|
io.github.pustike.inject |
Pustike Inject is a simple dependency injection framework that implements the
JSR-330 specification.
|
io.github.pustike.inject.bind |
Module and Binding configuration classes used to create the
Injector . |
io.github.pustike.inject.events |
EventBus allows publish-subscribe style communication between components without requiring components to explicitly
register with one another (and thus be aware of each other).
|
-
Uses of Module in io.github.pustike.inject
Methods in io.github.pustike.inject with parameters of type Module Modifier and Type Method Description static Injector
Injectors. create(Module... modules)
Creates a newInjector
with bindings specified by given modules.Injector
Injector. createChildInjector(Module... modules)
Returns a new injector that delegates all requests for bindings that are not found, to its parent injector.Method parameters in io.github.pustike.inject with type arguments of type Module Modifier and Type Method Description static Injector
Injectors. create(InjectionPointLoader injectionPointLoader, Iterable<Module> modules)
Creates a newInjector
with bindings specified by given modules and using aninjection point loader
.static Injector
Injectors. create(Iterable<Module> modules)
Creates a newInjector
with bindings specified by given modules.Injector
Injector. createChildInjector(Iterable<Module> modules)
Returns a new injector that delegates all requests for bindings that are not found, to its parent injector. -
Uses of Module in io.github.pustike.inject.bind
Methods in io.github.pustike.inject.bind with parameters of type Module Modifier and Type Method Description void
Binder. install(Module module)
Uses the given module to configure more bindings. -
Uses of Module in io.github.pustike.inject.events
Methods in io.github.pustike.inject.events that return Module Modifier and Type Method Description static Module
EventBus. createModule()