public class AgrosystWebInterceptor extends Object implements com.opensymphony.xwork2.interceptor.Interceptor
| Constructor and Description |
|---|
AgrosystWebInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkClosedPersistenceContext(ServiceFactory serviceFactory) |
protected void |
checkForLayoutData(AbstractAgrosystAction action) |
void |
destroy() |
protected AgrosystWebApplicationContext |
getAgrosystApplicationContext(com.opensymphony.xwork2.ActionInvocation invocation) |
protected AgrosystWebSession |
getAgrosystSession(com.opensymphony.xwork2.ActionInvocation invocation) |
void |
init() |
String |
intercept(com.opensymphony.xwork2.ActionInvocation invocation) |
protected ServiceFactory |
newServiceFactory(com.opensymphony.xwork2.ActionInvocation invocation,
String authenticationToken) |
protected void |
populateAuthenticatedUser(AgrosystWebSession agrosystSession,
ServiceFactory serviceFactory) |
protected void |
rollbackTransaction(ServiceFactory serviceFactory) |
public void init()
init in interface com.opensymphony.xwork2.interceptor.Interceptorpublic String intercept(com.opensymphony.xwork2.ActionInvocation invocation) throws Exception
intercept in interface com.opensymphony.xwork2.interceptor.InterceptorExceptionprotected void checkForLayoutData(AbstractAgrosystAction action)
protected void populateAuthenticatedUser(AgrosystWebSession agrosystSession, ServiceFactory serviceFactory)
protected AgrosystWebSession getAgrosystSession(com.opensymphony.xwork2.ActionInvocation invocation)
protected AgrosystWebApplicationContext getAgrosystApplicationContext(com.opensymphony.xwork2.ActionInvocation invocation)
protected ServiceFactory newServiceFactory(com.opensymphony.xwork2.ActionInvocation invocation, String authenticationToken)
protected void checkClosedPersistenceContext(ServiceFactory serviceFactory)
protected void rollbackTransaction(ServiceFactory serviceFactory)
public void destroy()
destroy in interface com.opensymphony.xwork2.interceptor.InterceptorCopyright © 2013–2014 Inra. All rights reserved.