org.apache.struts2.osgi
Interface OsgiHost
- All Known Implementing Classes:
- FelixOsgiHost
public interface OsgiHost
Implementations of this class start an OSGi container. They must also add the BundleContext to
the ServletContext under the key OsgiHost.OSGI_BUNDLE_CONTEXT;
OSGI_BUNDLE_CONTEXT
static final String OSGI_BUNDLE_CONTEXT
- See Also:
- Constant Field Values
OSGI_HEADER_STRUTS_ENABLED
static final String OSGI_HEADER_STRUTS_ENABLED
- See Also:
- Constant Field Values
destroy
void destroy()
throws Exception
- Throws:
Exception
init
void init(javax.servlet.ServletContext servletContext)
getBundles
Map<String,org.osgi.framework.Bundle> getBundles()
getActiveBundles
Map<String,org.osgi.framework.Bundle> getActiveBundles()
getBundleContext
org.osgi.framework.BundleContext getBundleContext()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.