org.apache.struts2.osgi
Class OsgiHostFactory

java.lang.Object
  extended by 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
static String GLASSFISH
           
 
Method Summary
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-2017 Apache Software Foundation. All Rights Reserved.