public abstract class AbstractOSGiApp extends App
Modifier and Type | Field and Description |
---|---|
protected org.osgi.framework.Bundle |
_bundle |
protected Dictionary |
_properties |
protected org.osgi.framework.ServiceRegistration |
_registration |
Constructor and Description |
---|
AbstractOSGiApp(DeploymentManager manager,
AppProvider provider,
org.osgi.framework.Bundle bundle,
Dictionary properties,
String originId) |
AbstractOSGiApp(DeploymentManager manager,
AppProvider provider,
org.osgi.framework.Bundle bundle,
String originId) |
Modifier and Type | Method and Description |
---|---|
protected void |
deregisterAsOSGiService() |
protected Resource |
findFile(String fileName,
String jettyHome,
String bundleOverrideLocation,
org.osgi.framework.Bundle containingBundle) |
org.osgi.framework.Bundle |
getBundle() |
String |
getBundleSymbolicName() |
String |
getBundleVersionAsString() |
protected Resource |
getFileAsResource(String file) |
protected Resource |
getFileAsResource(String dir,
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 Dictionary _properties
protected org.osgi.framework.ServiceRegistration _registration
public AbstractOSGiApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, String originId)
public AbstractOSGiApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, Dictionary properties, String originId)
public String getBundleSymbolicName()
public String getBundleVersionAsString()
public org.osgi.framework.Bundle getBundle()
public void setRegistration(org.osgi.framework.ServiceRegistration registration)
public org.osgi.framework.ServiceRegistration getRegistration()
Copyright © 1995-2015 Webtide. All Rights Reserved.