Resource Resolvers

By default, you can add the {@link oajr.annotation.RestResource @RestResource} to any class as long as it has one of the following constructors:

- public T()
- public T(RestContextBuilder)

The latter constructor can be used to get access to the {@link oajr.RestContextBuilder} object to make any configurations to the resource before it's initialized.

Resource object resolution is controlled through the following API:

- {@link oajr.RestResourceResolver}
  - {@link oajr.BasicRestResourceResolver}

This API can be extended to provide your own custom resource resolution. Later topics discuss how to use this API to instantiate resources using Spring.

##### See Also:

- {@link oajr.RestContext#REST_resourceResolver}