objectledge/ledge — pull request #3 by mklew (2012-11-22 19:32:55+00:00)
Title: Integrate Jersey with Picocontainer so that Dependency Injection works 

I integrated Jersey with Pico container so that REST services can be beans managed by pico and of course dependency injection works like a charm.

Requirements

1. REST service must be added to container
2. JerseyRestValve must be configured with names of packages containing jersey resources
3. REST Service must be annotated with `@Singleton` annotation

Example of service:
```java
@Singleton
@Path("/hello")
public class HelloRest
{
...
}
```

Simple configuration:
```xml

org.company.web.rest

```