public class Activator extends Object implements org.osgi.framework.BundleActivator, PaxWebManagedService.ConfigurationUpdater
Main entry point to Pax-Web.
This activator performs these actions:
WebElementEventListener-org.osgi.service.event.EventAdmin bridgeWebElementEventListener-LogService bridgeorg.osgi.service.cm.ManagedService to monitor
org.ops4j.pax.web PID changes| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
void |
updateConfiguration(Dictionary<String,?> configuration)
Called directly or from
ManagedService.updated(Dictionary). |
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic void stop(org.osgi.framework.BundleContext context)
stop in interface org.osgi.framework.BundleActivatorpublic void updateConfiguration(Dictionary<String,?> configuration)
ManagedService.updated(Dictionary). Current
HttpService has to be re-registered because configuration has changed.updateConfiguration in interface PaxWebManagedService.ConfigurationUpdaterconfiguration - Copyright © 2006–2023 OPS4J - Open Participation Software for Java. All rights reserved.