A stateless peer object used to synchronize the state of a given type of
nextapp.echo2.app.Component
between the server and client.
A ComponentSynchronizePeer
may implement optional interfaces such as DomUpdateSupport
which enables rendering hierarchies of components directly to (X)HTML code. The optional ActionProcessor
and InputProcessor
interfaces may be used when the client-side rendering of the component may send back information to the server in response to user input.
A single instance of a given ComponentSynchronizePeer
will be created to synchronize the state of ALL instances of a particular class of Component
. Thus, it is not possible to store information about a component's state in this object (in contrast to Echo v1.x, where a peer was created for each component instance). Such rendering state information should now be stored in the ContainerInstance
, see the ContainerInstance.setRenderState()
method for details.