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;
Method Summary |
void |
destroy()
|
java.util.Map<java.lang.String,org.osgi.framework.Bundle> |
getActiveBundles()
|
org.osgi.framework.BundleContext |
getBundleContext()
|
java.util.Map<java.lang.String,org.osgi.framework.Bundle> |
getBundles()
|
void |
init(javax.servlet.ServletContext servletContext)
|
OSGI_BUNDLE_CONTEXT
static final java.lang.String OSGI_BUNDLE_CONTEXT
- See Also:
- Constant Field Values
OSGI_HEADER_STRUTS_ENABLED
static final java.lang.String OSGI_HEADER_STRUTS_ENABLED
- See Also:
- Constant Field Values
destroy
void destroy()
throws java.lang.Exception
- Throws:
java.lang.Exception
init
void init(javax.servlet.ServletContext servletContext)
getBundles
java.util.Map<java.lang.String,org.osgi.framework.Bundle> getBundles()
getActiveBundles
java.util.Map<java.lang.String,org.osgi.framework.Bundle> getActiveBundles()
getBundleContext
org.osgi.framework.BundleContext getBundleContext()
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.