org.apache.struts2.osgi.host
Class GlassfishOSGiHost
java.lang.Object
org.apache.struts2.osgi.host.BaseOsgiHost
org.apache.struts2.osgi.host.GlassfishOSGiHost
- All Implemented Interfaces:
- OsgiHost
public class GlassfishOSGiHost
- extends BaseOsgiHost
- implements OsgiHost
A glassfish implementation of an OsgiHost
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlassfishOSGiHost
public GlassfishOSGiHost()
init
public void init(javax.servlet.ServletContext servletContext)
- Specified by:
init in interface OsgiHost- Specified by:
init in class BaseOsgiHost
addSpringOSGiSupport
protected void addSpringOSGiSupport()
- Specified by:
addSpringOSGiSupport in class BaseOsgiHost
getBundles
public Map<String,org.osgi.framework.Bundle> getBundles()
- This bundle map will not change, but the status of the bundles can change
over time. Use getActiveBundles() for active bundles
- Specified by:
getBundles in interface OsgiHost- Specified by:
getBundles in class BaseOsgiHost
getActiveBundles
public Map<String,org.osgi.framework.Bundle> getActiveBundles()
- Specified by:
getActiveBundles in interface OsgiHost- Specified by:
getActiveBundles in class BaseOsgiHost
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
- Specified by:
getBundleContext in interface OsgiHost- Specified by:
getBundleContext in class BaseOsgiHost
destroy
public void destroy()
throws Exception
- Specified by:
destroy in interface OsgiHost- Specified by:
destroy in class BaseOsgiHost
- Throws:
Exception
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.