All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.directwebremoting.util.FakeServletContextFactory Maven / Gradle / Ivy

package org.directwebremoting.util;

import javax.servlet.ServletContext;

/**
 * @author Mike Wilson
 */
public class FakeServletContextFactory {
    public static ServletContext create(Object... args) {
        return MethodMatchingProxyFactory.createProxy(ServletContext.class, fakeServletContextClass, args);
    }

    private static Class fakeServletContextClass = null;

    static {
        fakeServletContextClass = FakeServletContextObject24.class;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy