Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-02


oracle.irm.engine.core.device
Class DeviceFactory

java.lang.Object
  extended by oracle.irm.engine.core.device.DeviceFactory


public final class DeviceFactory
extends Object

Device factory. This class provides methods for creating new instances of Device objects.


Method Summary
static Device createDevice()
          Create a device.
static Device createDevice(UUID uuid)
          Create a device.
static Device createDevice(UUID uuid, String name, Collection<NetworkAdapter> adapters)
          Create a device.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createDevice

public static Device createDevice()
Create a device. A device identity will be automatically created.
Returns:
a new Device instance.

createDevice

public static Device createDevice(UUID uuid)
Create a device. The other device properties will be inferred from the environment.
Parameters:
uuid - the globally unique device identity.
Returns:
a new Device instance.

createDevice

public static Device createDevice(UUID uuid,
                                  String name,
                                  Collection<NetworkAdapter> adapters)
Create a device.
Parameters:
uuid - the globally unique device identity.
name - the name of the device.
adapters - the list of network adapters for this device. This parameter is optional, it is valid to pass null or an empty collection.
Returns:
a new Device instance.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-02


Copyright © 2010, Oracle. All rights reserved.