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

com.servicerocket.confluence.randombits.conveyor.xwork.NoOpContextProvider Maven / Gradle / Ivy

There is a newer version: 2.5.12
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy