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() |
org.osgi.framework.Bundle |
getBundle() |
java.lang.String |
getBundleSymbolicName() |
java.lang.String |
getBundleVersionAsString() |
org.osgi.framework.ServiceRegistration |
getRegistration() |
void |
registerAsOSGiService() |
void |
setRegistration(org.osgi.framework.ServiceRegistration registration) |
getAppProvider, getContextHandler, getContextId, getContextPath, getDeploymentManager, getOriginId, toStringprotected 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.Exceptionprotected void deregisterAsOSGiService()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2013 FuseSource, Corp.. All Rights Reserved.