Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following section describes the Apache Wink providers that are an addition to the JAX-RS requirements.

Additional Supplied

Providers

Representations

7.1 Json Provider

7.2 APP Provider

7.3 Atom Provider

7.4 RSS

7.5 HTML Provider

7.5 6 CSV Provider

7.6 7 OpenSearch Provider

7.7 Assets Provider8 MultiPart

Scoping

The JAX-RS specification defines by default, that a singleton instance of each provider class is instantiated for each JAX-RS application. Apache Wink fully supports this requirement and in addition provides a "Prototype" lifecycle, which is an instance per-request lifecycle.
Prototype means that a new instance of a provider class is instantiated for each request. The @Scope annotation (section‎0) is used on a provider class to specify its lifecycle. The lifecycle of a provider that does not specify the @Scope annotation defaults to the singleton lifecycle.

...