Package org.eclipse.jetty.ee10.osgi.boot
Class EE10Activator
java.lang.Object
org.eclipse.jetty.ee10.osgi.boot.EE10Activator
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
EE10Activator
Enable deployment of webapps/contexts to E10E
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
ServerTracker Tracks appearance of Server instances as OSGi services, and then configures them for deployment of EE10 contexts and webapps. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<ServerClasspathContributor>
static void
void
start
(org.osgi.framework.BundleContext context) Track jetty Server instances and add ability to deploy EE10 contexts/webappsvoid
stop
(org.osgi.framework.BundleContext context) Stop the activator.static void
-
Field Details
-
ENVIRONMENT
- See Also:
-
-
Constructor Details
-
EE10Activator
public EE10Activator()
-
-
Method Details
-
registerServerClasspathContributor
-
unregisterServerClasspathContributor
-
getServerClasspathContributors
-
start
Track jetty Server instances and add ability to deploy EE10 contexts/webapps- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Parameters:
context
- the bundle context- Throws:
Exception
-
stop
Stop the activator.- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
- See Also:
-
BundleActivator.stop(org.osgi.framework.BundleContext)
-