public class OSGiContainer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<org.osgi.framework.Bundle,OSGiApplicationInfo> |
applications |
protected java.util.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 java.util.Map<org.osgi.framework.Bundle,OSGiApplicationInfo> applications
protected java.util.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 © 2018 GlassFish Community. All Rights Reserved.