Provides a set of services that can be registered to the framework.
A service provider that can create a service instance for each file in the configuration directory.
Group of request/response operations that share the same resources.
A utility class to gather all the elements that define the service.
A request/response operation.
The full description of an argument of a result of the service.
A utility class to gather all the elements that define the service method.
Main entry point for service lookup.
There are three main objects a generic client will use. The
is used to locate the services and methods. The
Service groups together
a set of methods that use the same resources (i.e. thread pool, database
connections, ...). The
ServiceMethod represents a single request/response
call, which can be executed both synchronously (
or asynchronously (
ServiceMethod.executeAsync(java.util.Map, java.util.function.Consumer, java.util.function.Consumer)).
All objects are self-describing (i.e. have a name and description) and are
When implementing a service,
ServiceDescription are used to gather the information, so that
the final objects remain immutable and thread-safe. The actual implementation
of the call is provided by a subclass of
ServiceProvider is used to register the service implementation
Copyright © 2015. All rights reserved.