public class ApplicationManager extends Object implements org.osgi.util.tracker.BundleTrackerCustomizer
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_HOST |
static String |
HOST_ATTR |
Constructor and Description |
---|
ApplicationManager() |
Modifier and Type | Method and Description |
---|---|
Object |
addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event) |
ApplicationHost |
getApplication(ApplicationFragment fragment) |
ApplicationHost |
getApplication(String name) |
static ApplicationManager |
getInstance() |
ApplicationHost |
getOrCreateApplication(String name) |
void |
modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object) |
void |
removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
public static final String HOST_ATTR
public static final String DEFAULT_HOST
public static ApplicationManager getInstance()
public void start(org.osgi.framework.BundleContext context)
public void stop(org.osgi.framework.BundleContext context)
public ApplicationHost getOrCreateApplication(String name)
public ApplicationHost getApplication(String name)
public ApplicationHost getApplication(ApplicationFragment fragment)
public Object addingBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event)
addingBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
public void modifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, Object object)
modifiedBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
public void removedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, Object object)
removedBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
Copyright © 2015 Nuxeo SA. All rights reserved.