public class OSGiContainer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.osgi.framework.Bundle,OSGiApplicationInfo> |
applications |
protected Map<OSGiApplicationInfo,org.osgi.framework.ServiceRegistration> |
regs |
| Modifier | Constructor and Description |
|---|---|
protected |
OSGiContainer(org.osgi.framework.BundleContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
OSGiApplicationInfo |
deploy(org.osgi.framework.Bundle b)
Deploys an application bundle in underlying application container in GlassFish.
|
OSGiApplicationInfo[] |
getDeployedApps() |
protected void |
init() |
boolean |
isDeployed(org.osgi.framework.Bundle bundle) |
boolean |
isShutdown() |
protected void |
shutdown() |
void |
undeploy(org.osgi.framework.Bundle b)
Undeploys a Java EE application bundle.
|
void |
undeployAll() |
protected Map<org.osgi.framework.Bundle,OSGiApplicationInfo> applications
protected Map<OSGiApplicationInfo,org.osgi.framework.ServiceRegistration> regs
protected void init()
protected void shutdown()
public boolean isShutdown()
public OSGiApplicationInfo deploy(org.osgi.framework.Bundle b)
b - Bundle to be deployed.public void undeploy(org.osgi.framework.Bundle b)
b - Bundle to be undeployedpublic void undeployAll()
public boolean isDeployed(org.osgi.framework.Bundle bundle)
public OSGiApplicationInfo[] getDeployedApps()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.