public class ApplicationFragment extends javax.ws.rs.core.Application
Modifier and Type | Field and Description |
---|---|
protected String |
appClass |
protected Map<String,String> |
attrs |
protected org.osgi.framework.Bundle |
bundle |
protected String |
hostName |
Constructor and Description |
---|
ApplicationFragment(org.osgi.framework.Bundle bundle,
String appClass) |
ApplicationFragment(org.osgi.framework.Bundle bundle,
String appClass,
Map<String,String> attrs) |
ApplicationFragment(org.osgi.framework.Bundle bundle,
String appClass,
String host) |
Modifier and Type | Method and 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() |
protected final org.osgi.framework.Bundle bundle
public ApplicationFragment(org.osgi.framework.Bundle bundle, String appClass)
public ApplicationFragment(org.osgi.framework.Bundle bundle, String appClass, String host)
public ApplicationFragment(org.osgi.framework.Bundle bundle, String appClass, Map<String,String> attrs)
public javax.ws.rs.core.Application getApplication()
public static Map<String,String> createAttributes(String hostName)
protected void createApp()
public void reload()
public org.osgi.framework.Bundle getBundle()
public String getHostName()
public javax.ws.rs.core.Application get()
public Set<Class<?>> getClasses()
getClasses
in class javax.ws.rs.core.Application
public Set<Object> getSingletons()
getSingletons
in class javax.ws.rs.core.Application
Copyright © 2017 Nuxeo. All rights reserved.