org.fcrepo.server
Class SpringServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.fcrepo.server.SpringServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
DatastreamResolverServlet, ServerController, SpringAccessServlet, SpringManagementServlet

public abstract class SpringServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
protected  org.springframework.context.ApplicationContext m_appContext
           
protected  Server m_server
           
protected  ServerStatusFile m_status
           
 
Constructor Summary
SpringServlet()
           
 
Method Summary
 void destroy()
           
protected  void failStartup(String message, Throwable th)
          Prints a "FEDORA STARTUP ERROR" to STDERR along with the stacktrace of the Throwable (if given) and finally, throws a ServletException.
 void init(javax.servlet.ServletConfig config)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_appContext

protected org.springframework.context.ApplicationContext m_appContext

m_server

protected Server m_server

m_status

protected ServerStatusFile m_status
Constructor Detail

SpringServlet

public SpringServlet()
Method Detail

failStartup

protected void failStartup(String message,
                           Throwable th)
                    throws javax.servlet.ServletException
Prints a "FEDORA STARTUP ERROR" to STDERR along with the stacktrace of the Throwable (if given) and finally, throws a ServletException.

Throws:
javax.servlet.ServletException

init

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

destroy

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


Copyright © 2012 DuraSpace. All Rights Reserved.