org.sonatype.guice.bean.containers
Class Main
java.lang.Object
org.sonatype.guice.bean.containers.Main
- All Implemented Interfaces:
- com.google.inject.Module
public final class Main
- extends Object
- implements com.google.inject.Module
Bootstrap class that creates a static Injector
by scanning the current class-path for beans.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String... args)
boot
public static <T> T boot(Class<T> type,
String... args)
boot
public static com.google.inject.Injector boot(Map<?,?> properties,
String... args)
wire
public static com.google.inject.Module wire(BeanScanning scanning,
com.google.inject.Module... bindings)
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configure
in interface com.google.inject.Module
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.