title: spring jetty UriInfo inject is null
body: <p>we are using spring jetty for rest call.</p>
  
  <p>we are injecting context as follows</p>
  
  <pre><code>@Context
  private UriInfo uriInfo;
  </code></pre>
  
  <p>we have inject the uri info in many services. It is working fine for all, except one where
  it is injected as null.</p>
  
  <p>After analyzing log i found for null injected class the type is printed as proxy object as 
  shown in below</p>
  
  <pre><code>Jan 18, 2013 4:32:07 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
  INFO: Registering Spring bean, organizationProvisioningImpl, of type $Proxy53 as a root resource class 
  </code></pre>
  
  <p>And for successfully injected class the type is printed as name of class .</p>
  
  <p>Must be the proxy which is the reason why the context is not injected.</p>
  
  <p>The class are defined similarly but dont why this happing.</p>
  
  <p>Any one having same issue or know about the issue please guide me so.</p>
  
  <p>**Adding to above , the proxy object is because i have applied AOP on this class methods. Hope this may also help you guys to help me.</p>
  
  <p>Thanks .</p>