title: How to inject UriInfo object into non-resource classes
body: <p>In process of modifying my project code I've found out that I have no chance to insert UriInfo object into resource class (using @Context annotation)
  Unfortunately I cannot change method or constructors signatures to retrieve uriinfo in resource in pass it to service class.</p>
  
  <p>Is there any option to insert UriInfo into usual class (not jax-rs)?
  Maybe there is some option to say Jersey scan not only resource classes but custom ones?
  <strong>EDIT:</strong></p>
  
  <p>Here is some code example</p>
  
  <pre><code>@Path("path")
  public class JerseyResource {
     @Get
     public Responce executeMethod(@QueryParam Criteria criteria, @QueryParam ObjType type) {
          return RestUtils.chooseServiceByType(type).process(criteria);
     }
  }
  </code></pre>
  
  <p><strong>RestUtils.chooseServiceByType(type)</strong> can return ~15 different instances.
  And only for 1 instance (i.e. <strong>Type2LogicProcessorServiceImpl</strong>) i need access to <strong>uriInfo</strong> object in <strong>process(criteria)</strong> method</p>
  
  <p>Thank you,
  Dima</p>