|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.action.interceptor.JiveObjectLoaderInterceptor
public class JiveObjectLoaderInterceptor
A simple interceptor which picks up on actions that implement the JiveObjectLoader
interface. If an object implements that interface the JiveObjectLoader.loadObjects()
method will be called and depending on the return code, the interceptor chain will be executed.
Constructor Summary | |
---|---|
JiveObjectLoaderInterceptor()
|
Method Summary | |
---|---|
void |
destroy()
Does nothing in this implementation. |
void |
init()
Does nothing in this implementation. |
java.lang.String |
intercept(com.opensymphony.xwork.ActionInvocation in)
Calls JiveObjectLoader.loadObjects() if the action implements the
JiveObjectLoader interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiveObjectLoaderInterceptor()
Method Detail |
---|
public void destroy()
destroy
in interface com.opensymphony.xwork.interceptor.Interceptor
public void init()
init
in interface com.opensymphony.xwork.interceptor.Interceptor
public java.lang.String intercept(com.opensymphony.xwork.ActionInvocation in) throws java.lang.Exception
JiveObjectLoader.loadObjects()
if the action implements the
JiveObjectLoader
interface. If a return code of Action.SUCCESS
is returned
then the rest of the interceptorchain will be called. If no, execution is short circuited
and the return code from the loadObjects() is returned.
intercept
in interface com.opensymphony.xwork.interceptor.Interceptor
in
- the action invocation -- the state of action execution.
ActionInvocation.invoke()
or some sort of
error action code (depends on how the loadObjects() method is implemented.
java.lang.Exception
- if an unexpected error occurs while executing the interceptor.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |