public abstract class ModuleRegistrationServlet extends HttpServlet implements ModuleRegistration
If further initialization or termination is required,
see ModuleRegistration
for more information.
ModuleRegistrationListener
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Called by the servlet container to indicate to a servlet that the
servlet is being taken out of service.
|
void |
init(ServletConfig aServletConfig)
Called by the servlet container to indicate to a servlet that the
servlet is being placed into service.
|
service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroyBeforeUnregisterModule, handleRepositoryShutdown, handleRepositoryStartup, handleServiceRegistration
public final void init(ServletConfig aServletConfig) throws ServletException
This implementation adds the EBX® module registration to the super implementation.
If further initialization is required, the methods GenericServlet.init()
or
ModuleRegistration.handleRepositoryStartup(ModuleContextOnRepositoryStartup)
can be overridden.
init
in interface Servlet
init
in class GenericServlet
ServletException
public final void destroy()
This 'final' implementation invokes the method ModuleRegistration.destroyBeforeUnregisterModule()
and then unregisters the current module.
destroy
in interface Servlet
destroy
in class GenericServlet