@Documented @Retention(value=RUNTIME) @Scope public @interface RequestScoped
Identifies a type that must be instantiated only one time per scope.
Typically an application will have at least two scopes: one application level scope and one per request scope. The application level scope endures for the lifetime of the application, the request scope only endures for the lifetime of processing a single request. Each time a new request is processed a new request scope is created.
Types annotated with RequestScoped
will be instantiated once and once
only per request. Each request will be processed in a single thread, so
RequestScoped
types do not need to be thread safe.
Provides
Oracle REST Data Services Plugin API version: 3.0.0.65.09.35 Copyright © 2015 Oracle Corp. All Rights Reserved.