Class ComponentServiceAction

  • public class ComponentServiceAction
    extends BaseAction
    The Component Service Action class provides a Struts Action implementation that can be used to invoke a component service. The configured action mapping parameter must be of the form "id.clientMethod" where "id" is the configured component ID and "clientMethod" is the web friendly method on the component client facade that will be used to invoke the component service. The client facade must be configured in the struts-config.xml file using the ComponentPlugIn plug-in implementation.

    The following example demonstrates a possible component client facade configuration:

     <plug-in className="">
       <set-property property="componentId" value="order"/>
       <set-property property="clientFacadeClassName" value=""/>

    This component facade declaration could then be referenced in an action mapping declaration:

         path="/SubmitOrder" type="">
       <set-property property="authenticate" value="0:0"/>
       <set-property property="https" value="0:1"/>
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructor and Description
      Construct new instance of the component service action.
    • Method Summary

      • Methods inherited from class org.apache.struts.action.Action

        execute, getServlet, setServlet
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ComponentServiceAction

        public ComponentServiceAction()
        Construct new instance of the component service action.