Package com.orchestranetworks.module
Class ModuleRegistrationServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.orchestranetworks.module.ModuleRegistrationServlet
- All Implemented Interfaces:
ModuleRegistration,Servlet,ServletConfig,Serializable
Ensures the EBX® module registration from a HTTP servlet.
If further initialization or termination is required,
see ModuleRegistration for more information.
- Since:
- 5.7.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfinal voiddestroy()Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.final voidinit(ServletConfig aServletConfig) Called by the servlet container to indicate to a servlet that the servlet is being placed into service.Methods inherited from class jakarta.servlet.http.HttpServlet
serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orchestranetworks.module.ModuleRegistration
destroyBeforeUnregisterModule, handleRepositoryShutdown, handleRepositoryStartup, handleSearchRegistration, handleServiceRegistration
-
Method Details
-
init
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.This implementation adds the EBX® module registration to the super implementation.
If further initialization is required, the methods
GenericServlet.init()orModuleRegistration.handleRepositoryStartup(ModuleContextOnRepositoryStartup)can be overridden.- Specified by:
initin interfaceServlet- Overrides:
initin classGenericServlet- Throws:
ServletException
-
destroy
public final void destroy()Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.This 'final' implementation invokes the method
ModuleRegistration.destroyBeforeUnregisterModule()and then unregisters the current module.- Specified by:
destroyin interfaceServlet- Overrides:
destroyin classGenericServlet
-