Standard services and specialized types
The plugin developer needs to implement
RestService
/HttpService
or
FunctionalService
interface to create an individual service.
Also, the implemented service can be executed by obtaining reference to it using
ServiceGatewayFactory.getServiceGateway
method. The Asset Picker
leverages this design and defines certain standard services. These are Simple Search
(simple-search
), Resource Loader
(resource-loader
), and Asset Selection Callback
(asset-selection-callback
) services. The Asset Picker provides
specialized interfaces extended from RestService
and
FunctionalService
for each of these standard services to facilitate
their implementation using RESTful or Functional approach.