Package org.nuxeo.ecm.webengine.jaxrs
Class ApplicationManager
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.ApplicationManager
- All Implemented Interfaces:
org.osgi.util.tracker.BundleTrackerCustomizer
public class ApplicationManager
extends Object
implements org.osgi.util.tracker.BundleTrackerCustomizer
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Map<String,
ApplicationHost> static final String
static final String
protected org.osgi.util.tracker.BundleTracker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddingBundle
(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event) getApplication
(String name) getApplication
(ApplicationFragment fragment) static ApplicationManager
getOrCreateApplication
(String name) void
modifiedBundle
(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, Object object) parseAttrs
(String expr) 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)
-
Field Details
-
HOST_ATTR
- See Also:
-
DEFAULT_HOST
- See Also:
-
tracker
protected org.osgi.util.tracker.BundleTracker tracker -
apps
-
-
Constructor Details
-
ApplicationManager
public ApplicationManager()
-
-
Method Details
-
getInstance
-
start
public void start(org.osgi.framework.BundleContext context) -
stop
public void stop(org.osgi.framework.BundleContext context) -
getOrCreateApplication
-
getApplications
-
getApplication
-
getApplication
-
addingBundle
- Specified by:
addingBundle
in interfaceorg.osgi.util.tracker.BundleTrackerCustomizer
-
modifiedBundle
public void modifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, Object object) - Specified by:
modifiedBundle
in interfaceorg.osgi.util.tracker.BundleTrackerCustomizer
-
removedBundle
public void removedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, Object object) - Specified by:
removedBundle
in interfaceorg.osgi.util.tracker.BundleTrackerCustomizer
-
parseAttrs
-