public class ApplicationHost
extends javax.ws.rs.core.Application
Constructor and Description |
---|
ApplicationHost(String name) |
Modifier and Type | Method and Description |
---|---|
void |
add(ApplicationFragment app) |
void |
addExtension(ResourceExtension xt) |
void |
addReloadListener(Reloadable listener) |
ApplicationFragment[] |
getApplications() |
org.osgi.framework.Bundle |
getBundle(Class<?> clazz)
Get the bundle declaring the given root class.
|
Set<Class<?>> |
getClasses() |
BundleResource |
getExtension(BundleResource target,
String segment) |
ResourceExtension |
getExtension(String id) |
ResourceExtension[] |
getExtensions(ResourceExtension xt) |
Map<String,Boolean> |
getFeatures() |
String |
getName() |
RenderingEngine |
getRendering() |
Set<Object> |
getSingletons() |
void |
reload() |
void |
remove(ApplicationFragment app) |
void |
removeExtension(ResourceExtension xt) |
void |
removeReloadListener(Reloadable listener) |
void |
setRendering(RenderingEngine rendering) |
public ApplicationHost(String name)
public BundleResource getExtension(BundleResource target, String segment)
public RenderingEngine getRendering()
public void setRendering(RenderingEngine rendering)
public void addExtension(ResourceExtension xt)
public void removeExtension(ResourceExtension xt)
public ResourceExtension getExtension(String id)
public ResourceExtension[] getExtensions(ResourceExtension xt)
public String getName()
public void add(ApplicationFragment app)
public void remove(ApplicationFragment app)
public ApplicationFragment[] getApplications()
public void addReloadListener(Reloadable listener)
public void removeReloadListener(Reloadable listener)
public void reload()
public org.osgi.framework.Bundle getBundle(Class<?> clazz)
clazz
- public Set<Class<?>> getClasses()
getClasses
in class javax.ws.rs.core.Application
Copyright © 2015 Nuxeo SA. All rights reserved.