Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webengine.jaxrs
Class ApplicationManager

java.lang.Object
  extended by 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
static String DEFAULT_HOST
           
static String HOST_ATTR
           
 
Constructor Summary
ApplicationManager()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOST_ATTR

public static final String HOST_ATTR
See Also:
Constant Field Values

DEFAULT_HOST

public static final String DEFAULT_HOST
See Also:
Constant Field Values
Constructor Detail

ApplicationManager

public ApplicationManager()
Method Detail

getInstance

public static ApplicationManager getInstance()

start

public void start(org.osgi.framework.BundleContext context)

stop

public void stop(org.osgi.framework.BundleContext context)

getOrCreateApplication

public ApplicationHost getOrCreateApplication(String name)

getApplication

public ApplicationHost getApplication(String name)

getApplication

public ApplicationHost getApplication(ApplicationFragment fragment)

addingBundle

public Object addingBundle(org.osgi.framework.Bundle bundle,
                           org.osgi.framework.BundleEvent event)
Specified by:
addingBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer

modifiedBundle

public void modifiedBundle(org.osgi.framework.Bundle bundle,
                           org.osgi.framework.BundleEvent event,
                           Object object)
Specified by:
modifiedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer

removedBundle

public void removedBundle(org.osgi.framework.Bundle bundle,
                          org.osgi.framework.BundleEvent event,
                          Object object)
Specified by:
removedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.