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
-
-
Constructor Summary
Constructors Constructor Description ApplicationFragment(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createApp()
static Map<String,String>
createAttributes(String hostName)
javax.ws.rs.core.Application
get()
javax.ws.rs.core.Application
getApplication()
Map<String,String>
getAttrs()
org.osgi.framework.Bundle
getBundle()
Set<Class<?>>
getClasses()
String
getHostName()
Set<Object>
getSingletons()
void
reload()
-
-
-
Method Detail
-
getApplication
public javax.ws.rs.core.Application getApplication()
-
createApp
protected void createApp()
-
reload
public void reload()
-
getBundle
public org.osgi.framework.Bundle getBundle()
-
getHostName
public String getHostName()
-
get
public javax.ws.rs.core.Application get()
-
getClasses
public Set<Class<?>> getClasses()
- Overrides:
getClasses
in classjavax.ws.rs.core.Application
-
-