|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.web.servlet.handler.HandlerInterceptorAdapter org.springframework.extensions.surf.mvc.AbstractWebFrameworkInterceptor
public class AbstractWebFrameworkInterceptor
Abstract Spring MVC HandlerInterceptorAdaptor that produces interceptors for Alfresco Surf. Developers who wish to implement custom Spring interceptors for use with Alfresco Surf will benefit by extending from this class. This class provides member functions for accessing the application context as well as important Surf services.
Constructor Summary | |
---|---|
AbstractWebFrameworkInterceptor()
|
Method Summary | |
---|---|
RenderService |
getRenderService()
Gets the render service. |
WebFrameworkServiceRegistry |
getServiceRegistry()
Gets the service registry. |
WebFrameworkConfigElement |
getWebFrameworkConfiguration()
Gets the web framework configuration. |
WebFrameworkManager |
getWebFrameworkManager()
Gets the web framework manager. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void |
setServiceRegistry(WebFrameworkServiceRegistry webFrameworkServiceRegistry)
Sets the service registry. |
void |
setServletContext(javax.servlet.ServletContext servletContext)
|
Methods inherited from class org.springframework.web.servlet.handler.HandlerInterceptorAdapter |
---|
afterCompletion, postHandle, preHandle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractWebFrameworkInterceptor()
Method Detail |
---|
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
public void setServiceRegistry(WebFrameworkServiceRegistry webFrameworkServiceRegistry)
webFrameworkServiceRegistry
- the new service registrypublic WebFrameworkServiceRegistry getServiceRegistry()
public WebFrameworkConfigElement getWebFrameworkConfiguration()
public WebFrameworkManager getWebFrameworkManager()
public RenderService getRenderService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |