public class UrlMappingServiceListener extends Object implements org.osgi.framework.ServiceListener
| Constructor and Description |
|---|
UrlMappingServiceListener(org.osgi.framework.BundleContext context,
SkysailApplication restletApp)
Constructor which needs the bundleContext and the RestletOsgiApplication.
|
UrlMappingServiceListener(org.osgi.framework.BundleContext context,
SkysailApplication restletApp,
boolean addBundleName)
Constructor which needs the bundleContext and the RestletOsgiApplication.
|
UrlMappingServiceListener(SkysailApplication restletApp) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getMappings() |
void |
serviceChanged(org.osgi.framework.ServiceEvent event)
This method adds, removes or modifies the URL mappings of the
applications router according to the service events fired.
|
public UrlMappingServiceListener(SkysailApplication restletApp)
public UrlMappingServiceListener(org.osgi.framework.BundleContext context,
SkysailApplication restletApp)
context - the osgi bundle contextrestletApp - the restletOsgiApplicationpublic UrlMappingServiceListener(org.osgi.framework.BundleContext context,
SkysailApplication restletApp,
boolean addBundleName)
context - the osgi bundle contextrestletApp - the restletOsgiApplicationpublic final void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged in interface org.osgi.framework.ServiceListenerevent - the serviceEventCopyright © 2011-2013. All Rights Reserved.