org.beigesoft.ajetty.FactoryWebAppClassLoaderStd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of a-jetty-base Show documentation
Show all versions of a-jetty-base Show documentation
A-Jetty Base can run on Android Java as well as on standard Java 7+ and it can run precompiled JSP/JSTL.
package org.beigesoft.ajetty;
/*
* Beigesoft ™
*
* Licensed under the Apache License, Version 2.0
*
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
import org.eclipse.jetty.webapp.WebAppClassLoader;
import org.eclipse.jetty.webapp.WebAppClassLoaderStd;
import org.beigesoft.afactory.IFactoryParam;
/**
* Factory of WebAppClassLoaderStd.
*
* @author Yury Demidenko
*/
public class FactoryWebAppClassLoaderStd
implements IFactoryParam {
/**
* Create a bean with abstract params.
* @param pParam parameter
* @return M request(or) scoped bean
*/
@Override
public final WebAppClassLoaderStd create(
final WebAppClassLoader.Context pContext) throws Exception {
return new WebAppClassLoaderStd(pContext);
}
}