Provides an Errai RPC endpoint to serve JavaScript runtime plugins (authored
in plain JS) and Perspective Layouts (authored in plain JSON via Layout Editor
to the client where the corresponding scripts get injected into
the DOM. These plugins contain logic to programmatically register themselves
with UberFire.
It also initializes the
PluginManager
which
is responsible for loading plugins authored in GWT/Errai/UberFire.
These plugin scripts are injected into the host page by Errai once they are
registered with Errai's script registry or injected in runtime (when they
use Uberfire JS API).
Scripts injected via Errai's script registry do not need any programmatic
registration logic on the client as all contained managed beans (i.e.
perspectives, editors, screens) are automatically discovered and activated by
Errai IOC.