com.sas.services.webapp
Class BootstrapServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--com.sas.services.webapp.BootstrapServlet
- All Implemented Interfaces:
- public class BootstrapServlet
- extends HttpServlet
This servlet uses Bootstrap to bootstrap the platform services.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BootstrapServlet
public BootstrapServlet()
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- The doGet method is called when a client makes a request via an
HTTP GET action. This method forces all GET requests to be treated
as POSTs.
- Overrides:
doGet in class HttpServlet
- Parameters:
request - The client's HttpServletRequest.response - An HttpServletResponse provided by the servlet engine.
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- The doPost method is called when a client makes a request using
the HTTP POST action. Currently this method displays a message.
- Overrides:
doPost in class HttpServlet
init
public void init(ServletConfig initialConfig)
throws ServletException
- This method instantiates a
Bootstrap class which is
responsible for starting up a Local Discovery Service DiscoveryService
- Overrides:
init in class GenericServlet
- Parameters:
initialConfig - Configuration info provided by the servlet engine from web.xml.
Initial parameters are metadata source properties file names.
These files point to
metadata repostories.
- param:
localPropsFile
- param:
remotePropsFile
- Throws:
ServletException - for startup failure.
handleException
protected void handleException(Exception e)
destroy
public void destroy()
- Overrides:
destroy in class GenericServlet
Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:05:13