eu.larkc.core.pluginManager.remote.Servlet.Tomcat.servlet
Class PluginServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by eu.larkc.core.pluginManager.remote.Servlet.Tomcat.servlet.LarkcServlet
              extended by eu.larkc.core.pluginManager.remote.Servlet.Tomcat.servlet.PluginServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
IdentifyPluginServlet

public class PluginServlet
extends LarkcServlet

Base class for servlets for all plugin types.

Author:
Alexey Cheptsov
See Also:
Serialized Form

Field Summary
static int ERROR_INVALID_ARGUMENTS
          Error code for "invalid arguments" error
static int ERROR_PLUGIN_NOT_INITIALISED
          Error code for "plug-in not initialised" error
static java.lang.String PLUGIN_CLASSNAME
          Plugin class name
 
Constructor Summary
PluginServlet()
           
 
Method Summary
 void destroy()
           
 void init(javax.servlet.ServletConfig config)
           
 
Methods inherited from class eu.larkc.core.pluginManager.remote.Servlet.Tomcat.servlet.LarkcServlet
log
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_PLUGIN_NOT_INITIALISED

public static final int ERROR_PLUGIN_NOT_INITIALISED
Error code for "plug-in not initialised" error

See Also:
Constant Field Values

ERROR_INVALID_ARGUMENTS

public static final int ERROR_INVALID_ARGUMENTS
Error code for "invalid arguments" error

See Also:
Constant Field Values

PLUGIN_CLASSNAME

public static final java.lang.String PLUGIN_CLASSNAME
Plugin class name

See Also:
Constant Field Values
Constructor Detail

PluginServlet

public PluginServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class LarkcServlet
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet