public class Names extends Object
Named
annotation instances when
configuring an injector that relies on named qualifiers. Qualifiers with
other attributes can by instantiated using the AnnotationBuilder
.Constructor and Description |
---|
Names() |
Modifier and Type | Method and Description |
---|---|
static javax.inject.Named |
named(String name)
Get a Named annotation instance whose value equals the provided String.
|
public static javax.inject.Named named(String name)
@Named(name)
, where name is the input String.name
- The name value for the returned annotationCopyright © 2016 GroupLens Research. All rights reserved.