org.mmbase.bridge.mock
Class MockSetup
java.lang.Object
org.mmbase.bridge.mock.MockSetup
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class MockSetup
- extends Object
- implements ServletContextListener
This can be added to your web.xml as a Listener to bootstrap the mock bridge.
<listener>
<listener-class>org.mmbase.bridge.mock.MockSetup</listener-class>
</listener>
This arranges the MockCloudContext to be (minimalisticly) set up, so that a mock bridge is available. E.g. to test taglib or so.
- Since:
- MMBase-1.9.2
- Version:
- $Id: MockSetup.java 41862 2010-04-13 09:32:29Z michiel $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockSetup
public MockSetup()
contextDestroyed
public void contextDestroyed(ServletContextEvent sce)
- Specified by:
contextDestroyed in interface ServletContextListener
contextInitialized
public void contextInitialized(ServletContextEvent sce)
- Specified by:
contextInitialized in interface ServletContextListener
MMBase 2.0-SNAPSHOT - null