Package org.ametys.core.ui
Class ExecuteClientCallsAction
- java.lang.Object
 - 
- org.apache.avalon.framework.logger.AbstractLogEnabled
 - 
- org.apache.cocoon.acting.AbstractAction
 - 
- org.apache.cocoon.acting.ServiceableAction
 - 
- org.ametys.core.ui.ExecuteClientCallsAction
 
 
 
 
 
- 
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,ThreadSafe,Action
- Direct Known Subclasses:
 ExecuteWorkspacesClientCallsAction
public class ExecuteClientCallsAction extends ServiceableAction implements ThreadSafe
Action executing remote method calls coming from client-side elements.
Called methods should be annotated withCallable. 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager 
- 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ExecuteClientCallsAction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object_executeMethod(Method method, Object object, Object[] paramValues)Execute the method set in the client callMapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)- 
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service 
- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ExecuteClientCallsAction
public ExecuteClientCallsAction()
 
 - 
 
- 
Method Detail
- 
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
 
- 
_executeMethod
protected Object _executeMethod(Method method, Object object, Object[] paramValues) throws Exception
Execute the method set in the client call- Parameters:
 method- The methodobject- The object which has the methodparamValues- The method parameters- Returns:
 - The result
 - Throws:
 Exception- If an error occurred
 
 - 
 
 -