org.granite.spring
Class ServerFilter

java.lang.Object
  extended by org.granite.spring.ServerFilter
All Implemented Interfaces:
Aware, DisposableBean, InitializingBean, ApplicationContextAware, ServletContextAware, HandlerAdapter

public class ServerFilter
extends Object
implements InitializingBean, DisposableBean, ApplicationContextAware, ServletContextAware, HandlerAdapter


Constructor Summary
ServerFilter()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 long getLastModified(HttpServletRequest request, Object handler)
           
 ModelAndView handle(HttpServletRequest request, HttpServletResponse response, Object handler)
           
 void setAmf3MessageInterceptor(org.granite.messaging.amf.process.AMF3MessageInterceptor amf3MessageInterceptor)
           
 void setApplicationContext(ApplicationContext context)
           
 void setExceptionConverters(List<Class<? extends org.granite.messaging.service.ExceptionConverter>> exceptionConverters)
           
 void setServletContext(ServletContext servletContext)
           
 void setTide(boolean tide)
           
 void setTideAnnotations(List<String> tideAnnotations)
           
 void setTideInterfaces(List<String> tideInterfaces)
           
 void setTideNames(List<String> tideNames)
           
 void setTideRoles(List<String> tideRoles)
           
 void setTideTypes(List<String> tideTypes)
           
 void setType(String type)
           
 boolean supports(Object handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerFilter

public ServerFilter()
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext context)
                           throws BeansException
Specified by:
setApplicationContext in interface ApplicationContextAware
Throws:
BeansException

setServletContext

public void setServletContext(ServletContext servletContext)
                       throws BeansException
Specified by:
setServletContext in interface ServletContextAware
Throws:
BeansException

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface InitializingBean

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface DisposableBean
Throws:
Exception

setTideRoles

public void setTideRoles(List<String> tideRoles)

setTideAnnotations

public void setTideAnnotations(List<String> tideAnnotations)

setTideInterfaces

public void setTideInterfaces(List<String> tideInterfaces)

setTideNames

public void setTideNames(List<String> tideNames)

setTideTypes

public void setTideTypes(List<String> tideTypes)

setExceptionConverters

public void setExceptionConverters(List<Class<? extends org.granite.messaging.service.ExceptionConverter>> exceptionConverters)

setAmf3MessageInterceptor

public void setAmf3MessageInterceptor(org.granite.messaging.amf.process.AMF3MessageInterceptor amf3MessageInterceptor)

setTide

public void setTide(boolean tide)

setType

public void setType(String type)

getLastModified

public long getLastModified(HttpServletRequest request,
                            Object handler)
Specified by:
getLastModified in interface HandlerAdapter

handle

public ModelAndView handle(HttpServletRequest request,
                           HttpServletResponse response,
                           Object handler)
                    throws Exception
Specified by:
handle in interface HandlerAdapter
Throws:
Exception

supports

public boolean supports(Object handler)
Specified by:
supports in interface HandlerAdapter