public final class ResourceServices
extends java.lang.Object
ResourceService
instances.
Also see this class's counterparts ResourceProviders
and ResourceManagers
.Modifier and Type | Method and Description |
---|---|
static ResourceService.Builder |
builder()
Returns a new standard resource service builder.
|
public static ResourceService.Builder builder()
Standard resource service is a reference implementation of
ResourceService
interface. It has an operational state and
holds immutable references to resource provider and manager which
are accessible only while the service is running.
Transitions between operational states of the standard resource service are thread safe as well as access to the resource provider and manager. The service does not start any additional threads.