Package org.eclipse.jetty.osgi.boot
Class ServiceWebAppProvider.ServiceApp
- java.lang.Object
-
- org.eclipse.jetty.deploy.App
-
- org.eclipse.jetty.osgi.boot.AbstractOSGiApp
-
- org.eclipse.jetty.osgi.boot.AbstractWebAppProvider.OSGiApp
-
- org.eclipse.jetty.osgi.boot.ServiceWebAppProvider.ServiceApp
-
- Enclosing class:
- ServiceWebAppProvider
public class ServiceWebAppProvider.ServiceApp extends AbstractWebAppProvider.OSGiApp
ServiceApp
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.osgi.boot.AbstractOSGiApp
_bundle, _properties, _registration
-
-
Constructor Summary
Constructors Constructor Description ServiceApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, java.lang.String originId)
ServiceApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, java.util.Dictionary<java.lang.String,java.lang.String> properties, java.lang.String originId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deregisterAsOSGiService()
void
registerAsOSGiService()
-
Methods inherited from class org.eclipse.jetty.osgi.boot.AbstractWebAppProvider.OSGiApp
applyMetaInfContextXml, configureWebApp, createContextHandler, createWebApp, getBundlePath, getContextPath, getPathsToRequiredBundles, newWebApp, setContextPath, setWebAppContext, setWebAppPath
-
Methods inherited from class org.eclipse.jetty.osgi.boot.AbstractOSGiApp
findFile, getBundle, getBundleSymbolicName, getBundleVersionAsString, getFileAsResource, getFileAsResource, getRegistration, setRegistration
-
Methods inherited from class org.eclipse.jetty.deploy.App
getAppProvider, getContextHandler, getContextId, getDeploymentManager, getOriginId, toString
-
-
-
-
Constructor Detail
-
ServiceApp
public ServiceApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, java.util.Dictionary<java.lang.String,java.lang.String> properties, java.lang.String originId)
-
ServiceApp
public ServiceApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, java.lang.String originId)
-
-
Method Detail
-
registerAsOSGiService
public void registerAsOSGiService() throws java.lang.Exception
- Overrides:
registerAsOSGiService
in classAbstractOSGiApp
- Throws:
java.lang.Exception
-
deregisterAsOSGiService
protected void deregisterAsOSGiService() throws java.lang.Exception
- Overrides:
deregisterAsOSGiService
in classAbstractOSGiApp
- Throws:
java.lang.Exception
-
-