com.servicerocket.confluence.randombits.conveyor.xwork.NoOpContextProvider Maven / Gradle / Ivy
package com.servicerocket.confluence.randombits.conveyor.xwork;
import com.atlassian.plugin.PluginParseException;
import com.atlassian.plugin.web.ContextProvider;
import java.util.Map;
/**
* A {@link com.atlassian.plugin.web.ContextProvider} implementation that just passes the given context back. Used when no Context Provider has
* been specified in the ModuleDescriptor.
*/
public class NoOpContextProvider implements ContextProvider
{
public void init(Map params) throws PluginParseException
{
}
public Map getContextMap(Map context)
{
return context;
}
}