com.acsinet_solutions.cetia4.controller.rest.support
Class DynamicRestServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.acsinet_solutions.cetia4.controller.rest.AbstractRestServlet
              extended by com.acsinet_solutions.cetia4.controller.rest.support.DynamicRestServlet
All Implemented Interfaces:
AttributeKeys, ControllerConstants, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DynamicRestServlet
extends AbstractRestServlet

This class will implement a REST servlet that will dynamically create a REST module that implements any ServiceLocator interface, using the configured service locator.

Author:
Santiago Arriaga
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.acsinet_solutions.cetia4.controller.ControllerConstants
_METHOD_PARAM, _PAGE_PARAM, _ROOT_PARAM, DEFAULT_VIEW, ERROR_URL, ERROR_VIEW, LOAD_CANCEL, LOAD_CURRENT, LOAD_DEFAULT, LOAD_ERROR, LOAD_PREVIOUS
 
Fields inherited from interface com.acsinet_solutions.cetia4.controller.AttributeKeys
_BUNDLE_KEY, _CONFIGURATION_KEY, _DEFAULT_CONTROLLER_KEY, _FORM_ACTION_KEY, _FORM_ATTRIBUTE_KEY, _LOCALE_KEY, _MESSAGE_KEY, _NAVIGATION_FLOW_KEY, _PORTAL_PATH_KEY, _RENDER_PARAMETERS_KEY, _SERVICE_LOCATOR_KEY, _SESSION_KEY, _SYSTEM_EXCEPTION_KEY, _VALIDATION_EXCEPTION_KEY
 
Constructor Summary
DynamicRestServlet()
           
 
Method Summary
protected  RestModule getRestModule()
          A REST module is dynamically created using a CGLIB proxy, to add the service locator abstract method support to it.
 
Methods inherited from class com.acsinet_solutions.cetia4.controller.rest.AbstractRestServlet
doDelete, doGet, doPost, doPut, getConfiguration, getLocator, getLogger, getUserSessionManager, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, doTrace, getLastModified, service, 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

DynamicRestServlet

public DynamicRestServlet()
Method Detail

getRestModule

protected RestModule getRestModule()
A REST module is dynamically created using a CGLIB proxy, to add the service locator abstract method support to it.

Specified by:
getRestModule in class AbstractRestServlet