com.atlassian.plugin.servlet
Class PluginServletConfig

java.lang.Object
  extended by com.atlassian.plugin.servlet.PluginServletConfig
All Implemented Interfaces:
javax.servlet.ServletConfig

public final class PluginServletConfig
extends java.lang.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.


Constructor Summary
PluginServletConfig(BaseServletModuleDescriptor<?> descriptor, javax.servlet.ServletContext servletContext)
           
 
Method Summary
 java.lang.String getInitParameter(java.lang.String s)
           
 java.util.Enumeration getInitParameterNames()
           
 javax.servlet.ServletContext getServletContext()
           
 java.lang.String getServletName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginServletConfig

public PluginServletConfig(BaseServletModuleDescriptor<?> descriptor,
                           javax.servlet.ServletContext servletContext)
Method Detail

getServletName

public java.lang.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 java.lang.String getInitParameter(java.lang.String s)
Specified by:
getInitParameter in interface javax.servlet.ServletConfig

getInitParameterNames

public java.util.Enumeration getInitParameterNames()
Specified by:
getInitParameterNames in interface javax.servlet.ServletConfig


Copyright © 2013 Atlassian. All Rights Reserved.