Package org.nuxeo.ecm.webengine.rest
Class ApplicationManager
java.lang.Object
org.nuxeo.ecm.webengine.rest.ApplicationManager
- All Implemented Interfaces:
org.osgi.util.tracker.BundleTrackerCustomizer<ApplicationFragment>
public class ApplicationManager
extends Object
implements org.osgi.util.tracker.BundleTrackerCustomizer<ApplicationFragment>
- Author:
- Bogdan Stefanescu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map
<String, ApplicationHost> static final String
static final String
protected org.osgi.util.tracker.BundleTracker
<ApplicationFragment> -
Constructor Summary
Constructors -
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, ApplicationFragment fragment) parseAttrs
(String expr) void
removedBundle
(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, ApplicationFragment fragment) 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
-
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
public ApplicationFragment addingBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event) - Specified by:
addingBundle
in interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<ApplicationFragment>
-
modifiedBundle
public void modifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, ApplicationFragment fragment) - Specified by:
modifiedBundle
in interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<ApplicationFragment>
-
removedBundle
public void removedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, ApplicationFragment fragment) - Specified by:
removedBundle
in interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<ApplicationFragment>
-
parseAttrs
-