Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.osgi.host
Interface OsgiHost

All Known Implementing Classes:
  BaseOsgiHost, FelixOsgiHost, GlassfishOSGiHost

    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;

Field Summary
`static String` | `OSGI_BUNDLE_CONTEXT`
`static String` | `OSGI_HEADER_STRUTS_ENABLED`

Method Summary
`void` | `destroy()`
`Map<String,org.osgi.framework.Bundle>` | `getActiveBundles()`
`org.osgi.framework.BundleContext` | `getBundleContext()`
`Map<String,org.osgi.framework.Bundle>` | `getBundles()`
`void` | `init(javax.servlet.ServletContext servletContext)`

Field Detail

### 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

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.