public abstract class AbstractModule
extends java.lang.Object
Constructor and Description |
---|
AbstractModule() |
Modifier and Type | Method and Description |
---|---|
<T> AbstractModule |
bind(java.lang.Class<T> clazz) |
<T> AbstractModule |
bind(java.lang.Class<T> iface,
java.lang.Class<? extends T> implementation) |
<T> AbstractModule |
bind(java.lang.Class<T> iface,
T implementation) |
<T> AbstractModule |
bind(java.lang.String name,
java.lang.Class<? extends T> implementation) |
<T> AbstractModule |
bind(java.lang.String name,
T implementation) |
protected abstract void |
configure() |
<T> T |
get(java.lang.Class<T> iface) |
<T> T |
get(java.lang.Class<T> iface,
java.lang.String name) |
public final <T> AbstractModule bind(java.lang.Class<T> clazz)
public final <T> AbstractModule bind(java.lang.String name, java.lang.Class<? extends T> implementation)
public final <T> AbstractModule bind(java.lang.String name, T implementation)
public final <T> AbstractModule bind(java.lang.Class<T> iface, java.lang.Class<? extends T> implementation)
public final <T> AbstractModule bind(java.lang.Class<T> iface, T implementation)
protected abstract void configure()
public final <T> T get(java.lang.Class<T> iface)
public final <T> T get(java.lang.Class<T> iface, java.lang.String name)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.