Examples of unregisterAPI()


Examples of org.jnode.driver.Device.unregisterAPI()

        if (driver != null) {
            driver.release();
            driver = null;
        }
        final Device dev = getDevice();
        dev.unregisterAPI(DisplayDataChannelAPI.class);
        dev.unregisterAPI(HardwareCursorAPI.class);
        super.stopDevice();
    }
}
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

            driver.release();
            driver = null;
        }
        final Device dev = getDevice();
        dev.unregisterAPI(DisplayDataChannelAPI.class);
        dev.unregisterAPI(HardwareCursorAPI.class);
        super.stopDevice();
    }
}
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

            kernel.release();
            kernel = null;
        }
        final Device dev = getDevice();
        // dev.unregisterAPI(DisplayDataChannelAPI.class);
        dev.unregisterAPI(HardwareCursorAPI.class);
        super.stopDevice();
    }

}
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

    /**
     * @see org.jnode.driver.Driver#stopDevice()
     */
    protected void stopDevice() throws DriverException {
        final Device dev = getDevice();
        dev.unregisterAPI(FrameBufferAPI.class);
    }

    /**
     * Gets the prefix for the device name
     *
 
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

            kernel.release();
            kernel = null;
        }
        final Device dev = getDevice();
        // dev.unregisterAPI(DisplayDataChannelAPI.class);
        dev.unregisterAPI(HardwareCursorAPI.class);
        super.stopDevice();
    }

    private static final int parseArchitecture(ConfigurationElement config) throws DriverException {
        final String arch = config.getAttribute("architecture");
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

                    ex);
            }
        }
        // Remove the API
        final Device pciBusDevice = getDevice();
        pciBusDevice.unregisterAPI(DeviceInfoAPI.class);
        pciBusDevice.unregisterAPI(PCIBusAPI.class);
        // Release the resources
        pciConfigIO.release();
        pciConfigIO = null;
    }
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

            }
        }
        // Remove the API
        final Device pciBusDevice = getDevice();
        pciBusDevice.unregisterAPI(DeviceInfoAPI.class);
        pciBusDevice.unregisterAPI(PCIBusAPI.class);
        // Release the resources
        pciConfigIO.release();
        pciConfigIO = null;
    }
View Full Code Here

Examples of org.jnode.driver.bus.ide.IDEDevice.unregisterAPI()

            }
        } catch (NameNotFoundException e) {
            throw new DriverException("Problem while stopping this IDE device", e);
        }

        dev.unregisterAPI(BlockDeviceAPI.class);
        this.pt = null;
    }

    public void flush() {
        // Nothing to do yet
View Full Code Here

Examples of org.jnode.driver.bus.scsi.SCSIDevice.unregisterAPI()

            unlock();
        } catch (IOException ex) {
            throw new DriverException(ex);
        } finally {
            final SCSIDevice dev = (SCSIDevice) getDevice();
            dev.unregisterAPI(RemovableDeviceAPI.class);
            dev.unregisterAPI(FSBlockDeviceAPI.class);
            dev.unregisterAPI(SCSIDeviceAPI.class);
        }

    }
View Full Code Here

Examples of org.jnode.driver.bus.scsi.SCSIDevice.unregisterAPI()

        } catch (IOException ex) {
            throw new DriverException(ex);
        } finally {
            final SCSIDevice dev = (SCSIDevice) getDevice();
            dev.unregisterAPI(RemovableDeviceAPI.class);
            dev.unregisterAPI(FSBlockDeviceAPI.class);
            dev.unregisterAPI(SCSIDeviceAPI.class);
        }

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.