public final class PathKey<T>
extends com.google.inject.Key<T>
bind(new PathKey<>(MyService.class, "/my_path")).to(MyService.class);
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getClazz() |
String |
getPath() |
static <T> PathKey<T> |
newKey(Class<T> clazz,
String path)
Creates new PathKey.
|
Copyright © 2015. All rights reserved.