class="block">The resource context provides access to instances of resource classes.
 <p>
 This interface can be injected using the <a href="../core/Context.html" title="annotation interface in jakarta.ws.rs.core"><code>Context</code></a> annotation.
 </p>
 <p>
 The resource context can be utilized when instances of managed resource classes are to be returned by sub-resource
 locator methods. Such instances will be injected and managed within the declared scope just like instances of root
 resource classes.