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

org.pivot4j.pentaho.servlet.PluginServletConfig Maven / Gradle / Ivy

Go to download

Pivot4J Pentatho is an OLAP analysis plugin for BI platform based on Pivot4J library.

The newest version!
package org.pivot4j.pentaho.servlet;

import java.util.Enumeration;

import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;

public class PluginServletConfig implements ServletConfig {

	public static final String SERVLET_NAME = "facesServlet";

	private ServletContext context;

	/**
	 * @param context
	 */
	public PluginServletConfig(ServletContext context) {
		this.context = context;
	}

	/**
	 * @see javax.servlet.ServletConfig#getInitParameter(java.lang.String)
	 */
	@Override
	public String getInitParameter(String name) {
		return context.getInitParameter(name);
	}

	/**
	 * @see javax.servlet.ServletConfig#getInitParameterNames()
	 */
	@Override
	public Enumeration getInitParameterNames() {
		return context.getInitParameterNames();
	}

	/**
	 * @see javax.servlet.ServletConfig#getServletContext()
	 */
	@Override
	public ServletContext getServletContext() {
		return context;
	}

	/**
	 * @see javax.servlet.ServletConfig#getServletName()
	 */
	@Override
	public String getServletName() {
		return SERVLET_NAME;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy