public interface ResourceService extends Service
Modifier and Type | Interface and Description |
---|---|
static interface |
ResourceService.Builder
A builder for creating resource service instances.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares the specified object with this service for equality.
|
ResourceManager |
getResourceManager()
Gets the resource manager.
|
ResourceProvider |
getResourceProvider()
Gets the resource provider.
|
int |
hashCode()
Returns the hash code value for this service.
|
ResourceProvider getResourceProvider()
java.lang.IllegalStateException
- if the service is not runningResourceManager getResourceManager()
java.lang.IllegalStateException
- if the service is not runningboolean equals(@Nullable java.lang.Object o)
true
if the specified object is also service
and the two services have the same name. This definition ensures
that this method works properly across different implementations
of the service interface.equals
in class java.lang.Object
o
- an object to be compared for equality with this servicetrue
if the specified object is equal to
this service, false
otherwiseint hashCode()
hashCode
in class java.lang.Object