public interface ServiceKey<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServiceKey.Builder<T>
Builder for service key.
|
| Modifier and Type | Method and Description |
|---|---|
static <U> ServiceKey.Builder<U> |
from(Class<U> clazz) |
Qualifiers |
getQualifiers() |
Class<T> |
getServiceClass() |
Type |
getServiceType() |
static <U> ServiceKey<U> |
of(Class<U> clazz) |
static <U> ServiceKey<U> |
of(Class<U> clazz,
Class<? extends Annotation> quality) |
static <U> ServiceKey<U> |
of(Class<U> clazz,
String named) |
static <U> ServiceKey.Builder<U> from(Class<U> clazz)
static <U> ServiceKey<U> of(Class<U> clazz)
static <U> ServiceKey<U> of(Class<U> clazz, String named)
static <U> ServiceKey<U> of(Class<U> clazz, Class<? extends Annotation> quality)
Type getServiceType()
Qualifiers getQualifiers()
Copyright © 2015. All rights reserved.