public abstract class DeviceResourceDescriptor extends Object
ResourceManager| Constructor and Description |
|---|
DeviceResourceDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
createResource(Device device)
Creates the resource described by this descriptor
|
abstract void |
destroyResource(Object previouslyCreatedObject)
Undoes everything that was done by a previous call to create(...), given
the object that was returned by create(...).
|
public abstract Object createResource(Device device) throws DeviceResourceException
device - the Device on which to allocate the resourceDeviceResourceException - if unable to allocate the resourcepublic abstract void destroyResource(Object previouslyCreatedObject)
previouslyCreatedObject - an object that was returned by an equal
descriptor in a previous call to createResource(...).Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.