Package org.eclipse.jetty.osgi.boot
Class ServiceContextProvider.ServiceApp
- java.lang.Object
-
- org.eclipse.jetty.deploy.App
-
- org.eclipse.jetty.osgi.boot.AbstractOSGiApp
-
- org.eclipse.jetty.osgi.boot.AbstractContextProvider.OSGiApp
-
- org.eclipse.jetty.osgi.boot.ServiceContextProvider.ServiceApp
-
- Enclosing class:
- ServiceContextProvider
public class ServiceContextProvider.ServiceApp extends AbstractContextProvider.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, java.lang.String originId, org.osgi.framework.Bundle bundle, java.lang.String contextFile)
ServiceApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, java.util.Dictionary properties, java.lang.String contextFile, 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.AbstractContextProvider.OSGiApp
configureContextHandler, createContextHandler, getContextFile, setHandler
-
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, getContextPath, getDeploymentManager, getOriginId, toString
-
-
-
-
Constructor Detail
-
ServiceApp
public ServiceApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, java.util.Dictionary properties, java.lang.String contextFile, java.lang.String originId)
-
ServiceApp
public ServiceApp(DeploymentManager manager, AppProvider provider, java.lang.String originId, org.osgi.framework.Bundle bundle, java.lang.String contextFile)
-
-
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
-
-