com.atlassian.confluence.xwork
Class ConfluenceValidationInterceptor
java.lang.Object
com.opensymphony.xwork.interceptor.AroundInterceptor
com.atlassian.confluence.xwork.ConfluenceValidationInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork.interceptor.Interceptor
public class ConfluenceValidationInterceptor
- extends com.opensymphony.xwork.interceptor.AroundInterceptor
Copy of the XWork validation interceptor that delegates to our own ActionValidatorManager. The
default XWork manager contained some really nasty caching logic that we want to avoid.
Contains code that is Copyright (c) 2002-2003 by OpenSymphony, used under the Apache license.
Fields inherited from class com.opensymphony.xwork.interceptor.AroundInterceptor |
log |
Method Summary |
protected void |
after(com.opensymphony.xwork.ActionInvocation dispatcher,
java.lang.String result)
Does nothing in this implementation. |
protected void |
before(com.opensymphony.xwork.ActionInvocation invocation)
Gets the current action and its context and calls
ActionValidatorManager.validate(java.lang.Object, java.lang.String) . |
Methods inherited from class com.opensymphony.xwork.interceptor.AroundInterceptor |
destroy, init, intercept |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceValidationInterceptor
public ConfluenceValidationInterceptor()
after
protected void after(com.opensymphony.xwork.ActionInvocation dispatcher,
java.lang.String result)
throws java.lang.Exception
- Does nothing in this implementation.
- Specified by:
after
in class com.opensymphony.xwork.interceptor.AroundInterceptor
- Throws:
java.lang.Exception
before
protected void before(com.opensymphony.xwork.ActionInvocation invocation)
throws java.lang.Exception
- Gets the current action and its context and calls
ActionValidatorManager.validate(java.lang.Object, java.lang.String)
.
- Specified by:
before
in class com.opensymphony.xwork.interceptor.AroundInterceptor
- Parameters:
invocation
- the execution state of the Action.
- Throws:
java.lang.Exception
- if an error occurs validating the action.
Copyright © 2003-2013 Atlassian. All Rights Reserved.