public class GlassfishOSGiHost extends BaseOsgiHost implements OsgiHost
servletContext, versionPattern
OSGI_BUNDLE_CONTEXT, OSGI_HEADER_STRUTS_ENABLED
Constructor and Description |
---|
GlassfishOSGiHost() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSpringOSGiSupport() |
void |
destroy() |
Map<String,org.osgi.framework.Bundle> |
getActiveBundles() |
org.osgi.framework.BundleContext |
getBundleContext() |
Map<String,org.osgi.framework.Bundle> |
getBundles()
This bundle map will not change, but the status of the bundles can change
over time.
|
void |
init(javax.servlet.ServletContext servletContext) |
addAutoStartBundles, addExportedPackages, getBundlesInDir, getJarUrl, getProperties, getRunLevelDirs, getServletContextParam, getVersion, getVersionFromString, replaceSystemPackages
public void init(javax.servlet.ServletContext servletContext)
init
in interface OsgiHost
init
in class BaseOsgiHost
protected void addSpringOSGiSupport()
addSpringOSGiSupport
in class BaseOsgiHost
public Map<String,org.osgi.framework.Bundle> getBundles()
getBundles
in interface OsgiHost
getBundles
in class BaseOsgiHost
public Map<String,org.osgi.framework.Bundle> getActiveBundles()
getActiveBundles
in interface OsgiHost
getActiveBundles
in class BaseOsgiHost
public org.osgi.framework.BundleContext getBundleContext()
getBundleContext
in interface OsgiHost
getBundleContext
in class BaseOsgiHost
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.