public abstract class ResourceService<D extends ResourceDescription,R>
extends java.lang.Object
Constructor and Description |
---|
ResourceService()
Constructor
|
Modifier and Type | Method and Description |
---|---|
R |
getResource(D resourceDescription)
Clients use this method to get a hold of a resource
|
public R getResource(D resourceDescription) throws CannotCreateResourceException
resourceDescription
- The description of the resource to getCannotCreateResourceException
- If there was a problem when creating the resource