org.alfresco.web.site
Class EditionInterceptor

java.lang.Object
  extended by org.springframework.extensions.surf.mvc.AbstractWebFrameworkInterceptor
      extended by org.alfresco.web.site.EditionInterceptor
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.context.request.WebRequestInterceptor, org.springframework.web.context.ServletContextAware

public class EditionInterceptor
extends org.springframework.extensions.surf.mvc.AbstractWebFrameworkInterceptor

Framework interceptor responsible for checking repository license edition and applying appropriate config overrides.


Nested Class Summary
static class EditionInterceptor.EditionInfo
          Simple structure class wrapping the edition and license restriction information
 
Constructor Summary
EditionInterceptor()
           
 
Method Summary
 void afterCompletion(org.springframework.web.context.request.WebRequest request, java.lang.Exception ex)
           
 void postHandle(org.springframework.web.context.request.WebRequest request, org.springframework.ui.ModelMap model)
           
 void preHandle(org.springframework.web.context.request.WebRequest request)
           
 
Methods inherited from class org.springframework.extensions.surf.mvc.AbstractWebFrameworkInterceptor
getApplicationContext, getObjectService, getRenderService, getServiceRegistry, getWebFrameworkConfiguration, setApplicationContext, setServiceRegistry, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditionInterceptor

public EditionInterceptor()
Method Detail

preHandle

public void preHandle(org.springframework.web.context.request.WebRequest request)
               throws java.lang.Exception
Throws:
java.lang.Exception

postHandle

public void postHandle(org.springframework.web.context.request.WebRequest request,
                       org.springframework.ui.ModelMap model)
                throws java.lang.Exception
Throws:
java.lang.Exception

afterCompletion

public void afterCompletion(org.springframework.web.context.request.WebRequest request,
                            java.lang.Exception ex)
                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.