com.ferri.servlet
Class ServletAjax

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.ferri.servlet.ServletAjax
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.springframework.context.ApplicationContextAware

public class ServletAjax
extends javax.servlet.http.HttpServlet
implements org.springframework.context.ApplicationContextAware

Servlet que escolta les crides jquery-ajax per carregar combos vinculats

Author:
dferri
See Also:
Serialized Form

Field Summary
private  org.springframework.context.ApplicationContext applicationContext
           
private  GestoriaService gestoriaService
           
private  String[] locations
           
private static long serialVersionUID
           
 
Constructor Summary
ServletAjax()
          Creador Intancia
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 GestoriaService getGestoriaService()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setGestoriaService(GestoriaService gestoriaService)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

locations

private String[] locations

applicationContext

private org.springframework.context.ApplicationContext applicationContext

gestoriaService

private GestoriaService gestoriaService
Constructor Detail

ServletAjax

public ServletAjax()
Creador Intancia

Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

getGestoriaService

public GestoriaService getGestoriaService()
Returns:
the gestoriaService

setGestoriaService

public void setGestoriaService(GestoriaService gestoriaService)
Parameters:
gestoriaService - the gestoriaService to set