com.caucho.server.admin
Class ManagementService

java.lang.Object
  extended by com.caucho.server.admin.ManagementService

public abstract class ManagementService
extends java.lang.Object


Field Summary
protected  java.util.logging.Logger log
           
 
Constructor Summary
protected ManagementService(Management management, java.lang.String serviceName)
           
 
Method Summary
 boolean isAuthorized(HttpServletRequest request, HttpServletResponse response, ServletContext application)
           
protected  boolean isReadAllowed(ServletRequest request, ServletResponse response)
           
protected  boolean isWriteAllowed(ServletRequest request, ServletResponse response)
           
abstract  void service(ServletRequest request, ServletResponse response)
           
 void start()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected final java.util.logging.Logger log
Constructor Detail

ManagementService

protected ManagementService(Management management,
                            java.lang.String serviceName)
Method Detail

start

public void start()

isAuthorized

public boolean isAuthorized(HttpServletRequest request,
                            HttpServletResponse response,
                            ServletContext application)
                     throws ServletException,
                            java.io.IOException
Throws:
ServletException
java.io.IOException

isReadAllowed

protected boolean isReadAllowed(ServletRequest request,
                                ServletResponse response)
                         throws java.io.IOException,
                                ServletException
Throws:
java.io.IOException
ServletException

isWriteAllowed

protected boolean isWriteAllowed(ServletRequest request,
                                 ServletResponse response)
                          throws java.io.IOException,
                                 ServletException
Throws:
java.io.IOException
ServletException

service

public abstract void service(ServletRequest request,
                             ServletResponse response)
                      throws java.io.IOException,
                             ServletException
Throws:
java.io.IOException
ServletException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object