Package org.nuxeo.ecm.webengine.jaxrs
Class ApplicationFragment
java.lang.Object
javax.ws.rs.core.Application
org.nuxeo.ecm.webengine.jaxrs.ApplicationFragment
public class ApplicationFragment
extends javax.ws.rs.core.Application
A wrapper for a JAX-RS application fragment declared in manifest. The fragment application will be added to the
target host application.
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
ConstructorDescriptionApplicationFragment
(org.osgi.framework.Bundle bundle, String appClass) ApplicationFragment
(org.osgi.framework.Bundle bundle, String appClass, String host) ApplicationFragment
(org.osgi.framework.Bundle bundle, String appClass, Map<String, String> attrs) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createAttributes
(String hostName) javax.ws.rs.core.Application
get()
javax.ws.rs.core.Application
getAttrs()
org.osgi.framework.Bundle
void
reload()
-
Field Details
-
hostName
-
bundle
protected final org.osgi.framework.Bundle bundle -
attrs
-
appClass
-
-
Constructor Details
-
ApplicationFragment
-
ApplicationFragment
-
ApplicationFragment
-
-
Method Details
-
getApplication
public javax.ws.rs.core.Application getApplication() -
createAttributes
-
createApp
protected void createApp() -
reload
public void reload() -
getBundle
public org.osgi.framework.Bundle getBundle() -
getAttrs
-
getHostName
-
get
public javax.ws.rs.core.Application get() -
getClasses
- Overrides:
getClasses
in classjavax.ws.rs.core.Application
-
getSingletons
- Overrides:
getSingletons
in classjavax.ws.rs.core.Application
-