public class ApplicationHost extends 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) |
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) throws Exception
Exception
public void removeExtension(ResourceExtension xt) throws Exception
Exception
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 org.osgi.framework.Bundle getBundle(Class<?> clazz)
clazz
- public Set<Class<?>> getClasses()
getClasses
in class Application
public Set<Object> getSingletons()
getSingletons
in class Application
Copyright © 2013 Nuxeo SA. All Rights Reserved.