Top Description Methods
javax.portlet.annotations

public @Interface Namespace

extends Annotation
Annotations
@Qualifier
@Retention:RUNTIME
@Target:METHOD, FIELD, PARAMETER
Imports
java.lang.annotation.Retention, .Target, javax.inject.Qualifier

Qualifier that specifies the namespace for injection.

The injection target type must be String.

This annotation may only be used in @RequestScoped or @RenderStateScoped beans.

Example:

@Inject @Namespace
private String namespace;
Since
3.0
See Also
getNamespace

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString