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 Stringstatic final Stringprotected 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 ApplicationManagergetOrCreateApplication(String name) voidmodifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, ApplicationFragment fragment) parseAttrs(String expr) voidremovedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, ApplicationFragment fragment) voidstart(org.osgi.framework.BundleContext context) voidstop(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:
addingBundlein interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<ApplicationFragment>
-
modifiedBundle
public void modifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, ApplicationFragment fragment) - Specified by:
modifiedBundlein interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<ApplicationFragment>
-
removedBundle
public void removedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, ApplicationFragment fragment) - Specified by:
removedBundlein interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<ApplicationFragment>
-
parseAttrs
-