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
Class StrutsOsgiListener

    java.lang.Object
      org.apache.struts2.osgi.StrutsOsgiListener

All Implemented Interfaces:
  EventListener, javax.servlet.ServletContextListener

    public class StrutsOsgiListener

extends Object
implements javax.servlet.ServletContextListener

ServletContextListener that starts Osgi host

Field Summary
`static String` | `OSGI_HOST`
`static String` | `PLATFORM_KEY`

Constructor Summary
`StrutsOsgiListener()`

Method Summary
`void` | `contextDestroyed(javax.servlet.ServletContextEvent sce)`
`void` | `contextInitialized(javax.servlet.ServletContextEvent sce)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### OSGI_HOST

    public static final String OSGI_HOST

See Also:
  Constant Field Values

### PLATFORM_KEY

    public static final String PLATFORM_KEY

See Also:
  Constant Field Values

Constructor Detail

### StrutsOsgiListener

    public StrutsOsgiListener()

Method Detail

### contextInitialized

    public void contextInitialized(javax.servlet.ServletContextEvent sce)

  Specified by:
    `contextInitialized` in interface `javax.servlet.ServletContextListener`

### contextDestroyed

    public void contextDestroyed(javax.servlet.ServletContextEvent sce)

  Specified by:
    `contextDestroyed` in interface `javax.servlet.ServletContextListener`

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.