com.google.inject
Annotation Type Scoped


@Target(value={TYPE,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
public @interface Scoped

Annotates an implementation class with the name of its scope.

If you apply Scoped to another annotation, that annotation will act as an alias and the user will not have to explicitly specify a name. See ContainerScoped for an example.

Author:
crazybob

Required Element Summary
 java.lang.String value
          Scope name.
 

Element Detail

value

public abstract java.lang.String value
Scope name.