public class ComponentServiceAction extends BaseAction
The following example demonstrates a possible component client facade configuration:
<plug-in className="com.ibm.commerce.struts.ComponentPlugIn"> <set-property property="componentId" value="order"/> <set-property property="clientFacadeClassName" value="com.ibm.commerce.order.facade.client.OrderFacadeClient"/> </plug-in>
This component facade declaration could then be referenced in an action mapping declaration:
<action parameter="order.submitOrder" path="/SubmitOrder" type="com.ibm.commerce.struts.ComponentServiceAction"> <set-property property="authenticate" value="0:0"/> <set-property property="https" value="0:1"/> </action>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ComponentServiceAction()
Construct new instance of the component service action.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map | invokeService(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, java.util.Map inMap, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Invoke the configured component service client facade method.
|
public static final java.lang.String COPYRIGHT
public ComponentServiceAction()
protected java.util.Map invokeService(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, java.util.Map inMap, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws com.ibm.commerce.webcontroller.exception.RequestException