Class ApplicationRegistry
java.lang.Object
org.exoplatform.services.rest.impl.ApplicationRegistry
- All Implemented Interfaces:
org.picocontainer.Startable
Purpose of this class is to get all subclasses of
Application from eXo container and to process set of
object of classes provided by it as JAX-RS components.- Version:
- $Id$
- Author:
- Andrey Parfonov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.exoplatform.container.ExoContainerprotected final ProvidersRegistryprotected final ResourceDescriptorValidatorprotected final ResourceBinder -
Constructor Summary
ConstructorsConstructorDescriptionApplicationRegistry(org.exoplatform.container.ExoContainerContext containerContext, ResourceBinder resources, ProvidersRegistry providers, StartableApplication eXo) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddApplication(javax.ws.rs.core.Application app) voidstart()voidstop()
-
Field Details
-
container
protected final org.exoplatform.container.ExoContainer container -
resources
-
providers
-
rdv
-
-
Constructor Details
-
ApplicationRegistry
public ApplicationRegistry(org.exoplatform.container.ExoContainerContext containerContext, ResourceBinder resources, ProvidersRegistry providers, StartableApplication eXo)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
addApplication
public void addApplication(javax.ws.rs.core.Application app) -
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-