The REST MVC API’s modular and extensible functionality is based on actors, which uses a number of different types of actors to perform a variety of functions. The atg.service.actor.Actor
interface contains the following actor types that perform specific actions or provide configurations. For detailed information on any of these classes, refer to the ATG Platform API Reference.
Component Actor – Use this actor to set component property values or invoke methods on a component, or to read component property values
Droplet Actor – Use this actor when you want to invoke droplets and output data from the droplet to the
ModelMap
. Inputs are mapped to the dropletinput
parameter. Other types of actors can be nested in theoparam
parameter of aDropletActor
Form Actor – Use this actor to set up form handler inputs and submit a form
JSP Actor – This actor invokes a JSP page and adds the JSP response or JSP-defined variables to the
ModelMap
Nested Actor – These actors allow you to invoke actor-chains from within other actor-chains, helping to define modular units of work that can be combined and extended
Variable Actor – The
VarActor
enables you to set variables in the actor context