com.sun.squawk.peripheral
Class PeripheralRegistry
java.lang.Object
com.sun.squawk.peripheral.PeripheralRegistry
public class PeripheralRegistry
- extends Object
Place holder for all peripheral types known by Squawk.
- Author:
- Eric Arseneau
PeripheralRegistry
public PeripheralRegistry()
add
public void add(IPeripheral peripheral)
getAll
public IPeripheral[] getAll(Class type)
- Return all peripherals of type
type
.
- Parameters:
type
-
- Returns:
- array of peripherals
getSingleton
public IPeripheral getSingleton(Class type)
removeAll
public void removeAll(Class type)
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.