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.
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-2008 Sun Microsystems, Inc. All Rights Reserved.