uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

17.2 Provider

Provider is a class that implements the interface defined as per the standard specifications and is annotated by a Provider annotation.

Provider is instantiated for each Web application (WAR file). The life cycle of a provider is as follows:

  1. The constructor is called
  2. The required injection is performed
  3. An appropriate method is called
  4. Subjected to GC (Garbage collection)
Organization of this section
17.2.1 Entity provider
17.2.2 Exception mapping provider