|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.interceptor.AbstractInterceptor
public abstract class AbstractInterceptor
Provides default implementations of optional lifecycle methods
Constructor Summary | |
---|---|
AbstractInterceptor()
|
Method Summary | |
---|---|
void |
destroy()
Does nothing |
void |
init()
Does nothing |
abstract String |
intercept(ActionInvocation invocation)
Override to handle interception |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractInterceptor()
Method Detail |
---|
public void init()
init
in interface Interceptor
public void destroy()
destroy
in interface Interceptor
public abstract String intercept(ActionInvocation invocation) throws Exception
intercept
in interface Interceptor
invocation
- the action invocation
ActionInvocation.invoke()
, or from the interceptor itself.
Exception
- any system-level error, as defined in Action.execute()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |