org.apache.oozie.servlet
Class V1AdminServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.oozie.servlet.JsonRestServlet
              extended by org.apache.oozie.servlet.BaseAdminServlet
                  extended by org.apache.oozie.servlet.V1AdminServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
V2AdminServlet

public class V1AdminServlet
extends BaseAdminServlet

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.oozie.servlet.JsonRestServlet
JsonRestServlet.ParameterInfo, JsonRestServlet.ResourceInfo
 
Field Summary
 
Fields inherited from class org.apache.oozie.servlet.BaseAdminServlet
modeTag
 
Fields inherited from class org.apache.oozie.servlet.JsonRestServlet
AUDIT_ERROR_CODE, AUDIT_ERROR_MESSAGE, AUDIT_HTTP_STATUS_CODE, AUDIT_OPERATION, AUDIT_PARAM, AUTH_TOKEN, INSTRUMENTATION_GROUP, TEXT_UTF8, UNDEF, USER_NAME, XML_UTF8
 
Constructor Summary
  V1AdminServlet()
           
protected V1AdminServlet(String name)
           
 
Method Summary
protected  JsonBean getJMSConnectionInfo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get JMS connection Info
protected  void getQueueDump(org.json.simple.JSONObject json)
          Get a json array of queue dump and a json array of unique map dump
protected  void populateOozieMode(org.json.simple.JSONObject json)
           
protected  void setOozieMode(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String resourceName)
           
 
Methods inherited from class org.apache.oozie.servlet.BaseAdminServlet
doGet, doPost, doPut
 
Methods inherited from class org.apache.oozie.servlet.JsonRestServlet
getContentType, getResourceName, getUser, init, sendErrorResponse, sendJsonResponse, sendJsonResponse, service, setAllowSafeModeChanges, setLogInfo, startCron, stopCron, validateContentType, validateRestUrl
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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
 

Constructor Detail

V1AdminServlet

protected V1AdminServlet(String name)

V1AdminServlet

public V1AdminServlet()
Method Detail

populateOozieMode

protected void populateOozieMode(org.json.simple.JSONObject json)
Specified by:
populateOozieMode in class BaseAdminServlet

setOozieMode

protected void setOozieMode(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            String resourceName)
                     throws XServletException
Specified by:
setOozieMode in class BaseAdminServlet
Throws:
XServletException

getQueueDump

protected void getQueueDump(org.json.simple.JSONObject json)
                     throws XServletException
Get a json array of queue dump and a json array of unique map dump

Specified by:
getQueueDump in class BaseAdminServlet
Parameters:
JSONObject - the result json object that contains a JSONArray for the callable dump
Throws:
XServletException
See Also:
org.apache.oozie.servlet.BaseAdminServlet#getQueueDump(org.json.simple .JSONObject)

getJMSConnectionInfo

protected JsonBean getJMSConnectionInfo(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
                                 throws XServletException,
                                        IOException
Description copied from class: BaseAdminServlet
Get JMS connection Info

Throws:
XServletException
IOException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.