org.apache.struts2.osgi

## Class OsgiHostFactory

- java.lang.Object
- - org.apache.struts2.osgi.OsgiHostFactory

-     public class OsgiHostFactory
      extends Object

  OsgiHostFactory that creates proper OsgiHost implementation according to context param from web.xml

  Two implementations are supported right now:

  - Apache Felix
  - Glassfish (which contains Apache Felix already)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `GLASSFISH`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static OsgiHost` | `createOsgiHost(String platform)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### GLASSFISH

          public static final String GLASSFISH

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### createOsgiHost

          public static OsgiHost createOsgiHost(String platform)

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