Package org.eclipse.jetty.osgi
Class AbstractEEActivator
java.lang.Object
org.eclipse.jetty.osgi.AbstractEEActivator
- All Implemented Interfaces:
ServerClasspathContributor.Registry,org.osgi.framework.BundleActivator
public abstract class AbstractEEActivator
extends Object
implements org.osgi.framework.BundleActivator, ServerClasspathContributor.Registry
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.BundleContextabstract Stringabstract Stringabstract ContextFactorynewContextFactory(org.osgi.framework.Bundle bundle) abstract ContextFactorynewWebAppFactory(org.osgi.framework.Bundle bundle) voidvoidstart(org.osgi.framework.BundleContext context) Track jetty Server instances and add ability to deploy EE contexts/webappsvoidstop(org.osgi.framework.BundleContext context) Stop the activator.void
-
Constructor Details
-
AbstractEEActivator
public AbstractEEActivator()
-
-
Method Details
-
start
Track jetty Server instances and add ability to deploy EE contexts/webapps- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Parameters:
context- the bundle context- Throws:
Exception
-
getBootBundleContext
public org.osgi.framework.BundleContext getBootBundleContext() -
registerServerClasspathContributor
- Specified by:
registerServerClasspathContributorin interfaceServerClasspathContributor.Registry
-
unregisterServerClasspathContributor
- Specified by:
unregisterServerClasspathContributorin interfaceServerClasspathContributor.Registry
-
getServerClasspathContributors
-
stop
Stop the activator.- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Throws:
Exception- See Also:
-
BundleActivator.stop(org.osgi.framework.BundleContext)
-
getEnvironment
-
newContextFactory
-
newWebAppFactory
-
getMetaInfContainerBundlePatternAttributeName
-