Class ApplicationProviders

java.lang.Object
org.exoplatform.services.rest.impl.ProviderBinder
org.exoplatform.services.rest.impl.ApplicationProviders
All Implemented Interfaces:
javax.ws.rs.ext.Providers, ExtendedProviders

public class ApplicationProviders extends ProviderBinder
Application specific set of providers. Providers which were delivered via subclass of javax.ws.rs.core.Application will have an advantage over default providers. Default (embedded in this framework) providers will be in use only if JAX-RS application does not provide own providers with same purposes.
Version:
$Id$
Author:
Andrey Parfonov
  • Constructor Details

    • ApplicationProviders

      public ApplicationProviders(String applicationId)
  • Method Details

    • getApplication

      public String getApplication()
      Returns:
      identifier (suppose to use FQN) of application-supplied subclass of Application via this set of JAX-RS providers were delivered.
    • init

      protected void init()
      Add prepared providers.
      Overrides:
      init in class ProviderBinder