public final class Main extends Object implements com.google.inject.Module
Injector
by scanning the current class-path for beans.Modifier and Type | Method and Description |
---|---|
static <T> T |
boot(Class<T> type,
String... args) |
static com.google.inject.Injector |
boot(Map<?,?> properties,
String... args) |
void |
configure(com.google.inject.Binder binder) |
static void |
main(String... args) |
static com.google.inject.Module |
wire(BeanScanning scanning,
com.google.inject.Module... bindings) |
public static void main(String... args)
public static com.google.inject.Module wire(BeanScanning scanning, com.google.inject.Module... bindings)
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
Copyright © 2017. All rights reserved.