|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.Key<Object>
org.sonatype.guice.bean.locators.WildcardKey
public final class WildcardKey
Binding Key for implementations that act as "wild-cards", meaning they match against any assignable type.
Since the wild-card type is Object and the associated qualifier may not be unique between implementations,
the qualifier is saved and replaced with a unique (per-implementation) pseudo-qualifier. The original qualifier is
available from getQualifier().
| Constructor Summary | |
|---|---|
WildcardKey(Class<?> type,
Annotation qualifier)
|
|
| Method Summary | |
|---|---|
Annotation |
getQualifier()
|
| Methods inherited from class com.google.inject.Key |
|---|
equals, get, get, get, get, get, get, get, get, get, getAnnotation, getAnnotationType, getTypeLiteral, hasAttributes, hashCode, ofType, ofType, ofType, toString, withoutAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WildcardKey(Class<?> type,
Annotation qualifier)
| Method Detail |
|---|
public Annotation getQualifier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||