public class BridgeServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
BridgeServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
destroy() is called by the Servlet Container and used to first stop and then destroy the framework.
|
void |
init()
init() is called by the Servlet Container and used to instantiate the frameworkLauncher which MUST be an instance of FrameworkLauncher.
|
static void |
registerServletDelegate(javax.servlet.http.HttpServlet servletDelegate)
registerServletDelegate is the hook method called from inside the OSGi runtime to register
a servlet for which all future servlet calls will be delegated.
|
static void |
unregisterServletDelegate(javax.servlet.http.HttpServlet servletDelegate)
unregisterServletDelegate is the hook method called from inside the OSGi runtime to unregister a delegate.
|
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public static void registerServletDelegate(javax.servlet.http.HttpServlet servletDelegate)
servletDelegate
- - the servlet to register for delegationpublic static void unregisterServletDelegate(javax.servlet.http.HttpServlet servletDelegate)
servletDelegate
- - the servlet to unregister