Java Reference
In-Depth Information
To create a new CDI custom scope, we need to go to
File
|
New File
, select the
Contexts and Dependency Injection
category, and select the
Scope Type
file type.
Then, we need to enter a package and a name for our custom scope.