com.atlassian.plugin.servlet
Class PluginServletConfig
java.lang.Object
com.atlassian.plugin.servlet.PluginServletConfig
- All Implemented Interfaces:
- javax.servlet.ServletConfig
public final class PluginServletConfig
- extends Object
- implements javax.servlet.ServletConfig
Instances of the PluginServletConfig are passed to plugins servlet Servlet init() method. It provides
access to the init parameters defined in the plugin xml as well as the ServletContext shared by other filters and
servlets in the plugin.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginServletConfig
public PluginServletConfig(BaseServletModuleDescriptor<?> descriptor,
javax.servlet.ServletContext servletContext)
getServletName
public String getServletName()
- Specified by:
getServletName in interface javax.servlet.ServletConfig
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext in interface javax.servlet.ServletConfig
getInitParameter
public String getInitParameter(String s)
- Specified by:
getInitParameter in interface javax.servlet.ServletConfig
getInitParameterNames
public Enumeration getInitParameterNames()
- Specified by:
getInitParameterNames in interface javax.servlet.ServletConfig
Copyright © 2010 Atlassian. All Rights Reserved.