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 java.lang.Object
- implements com.google.inject.Module
Bootstrap class that creates a static Injector
by scanning the current class-path for beans.
Method Summary |
static
|
boot(java.lang.Class<T> type,
java.lang.String... args)
|
static com.google.inject.Injector |
boot(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String... args)
|
static com.google.inject.Injector |
boot(java.util.Properties properties,
java.lang.String... args)
|
void |
configure(com.google.inject.Binder binder)
|
static void |
main(java.lang.String... args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String... args)
boot
public static <T> T boot(java.lang.Class<T> type,
java.lang.String... args)
boot
public static com.google.inject.Injector boot(java.util.Properties properties,
java.lang.String... args)
boot
public static com.google.inject.Injector boot(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String... args)
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configure
in interface com.google.inject.Module
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.