public abstract class AbstractOSGiApp extends App
Modifier and Type | Field and Description |
---|---|
protected org.osgi.framework.Bundle |
_bundle |
protected java.util.Dictionary<?,?> |
_properties |
protected org.osgi.framework.ServiceRegistration |
_registration |
Constructor and Description |
---|
AbstractOSGiApp(DeploymentManager manager,
AppProvider provider,
org.osgi.framework.Bundle bundle,
java.util.Dictionary<?,?> properties,
java.lang.String originId) |
AbstractOSGiApp(DeploymentManager manager,
AppProvider provider,
org.osgi.framework.Bundle bundle,
java.lang.String originId) |
Modifier and Type | Method and Description |
---|---|
protected void |
deregisterAsOSGiService() |
protected Resource |
findFile(java.lang.String fileName,
java.lang.String jettyHome,
java.lang.String bundleOverrideLocation,
org.osgi.framework.Bundle containingBundle) |
org.osgi.framework.Bundle |
getBundle() |
java.lang.String |
getBundleSymbolicName() |
java.lang.String |
getBundleVersionAsString() |
protected Resource |
getFileAsResource(java.lang.String file) |
protected Resource |
getFileAsResource(java.lang.String dir,
java.lang.String file) |
org.osgi.framework.ServiceRegistration |
getRegistration() |
void |
registerAsOSGiService() |
void |
setRegistration(org.osgi.framework.ServiceRegistration registration) |
getAppProvider, getContextHandler, getContextId, getContextPath, getDeploymentManager, getOriginId, toString
protected org.osgi.framework.Bundle _bundle
protected java.util.Dictionary<?,?> _properties
protected org.osgi.framework.ServiceRegistration _registration
public AbstractOSGiApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, java.lang.String originId)
public AbstractOSGiApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, java.util.Dictionary<?,?> properties, java.lang.String originId)
public java.lang.String getBundleSymbolicName()
public java.lang.String getBundleVersionAsString()
public org.osgi.framework.Bundle getBundle()
public void setRegistration(org.osgi.framework.ServiceRegistration registration)
public org.osgi.framework.ServiceRegistration getRegistration()
public void registerAsOSGiService() throws java.lang.Exception
java.lang.Exception
protected void deregisterAsOSGiService() throws java.lang.Exception
java.lang.Exception
protected Resource getFileAsResource(java.lang.String dir, java.lang.String file)
protected Resource getFileAsResource(java.lang.String file)
protected Resource findFile(java.lang.String fileName, java.lang.String jettyHome, java.lang.String bundleOverrideLocation, org.osgi.framework.Bundle containingBundle)
Copyright © 1995–2023 Webtide. All rights reserved.