|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Device
A device. A device represents a physical device, such as a desktop computer, mobile phone or laptop. When a License
is delivered to a device is is said to be served to that device. Depending on the type of license, a record of the device is made when the license is served. This information is used to prevent password sharing by stopping a license being served to multiple devices. The properties of a device are provided to help track where licenses have been served. These properties include the device host Name
and a list of device network Adapters
.
Instances of Device objects can be created using the following factory style method(s).
Device object = createDevice
();
Device object = createDevice
(uuid);
Device object = createDevice
(
uuid,
name,
adapters);
Collections for Device
objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing Device
elements.
Collection
<Device
> object =createDevices
();
Consult the Uuid
property for more information on how this property can relate to Device
collections.
Device instances can be serialized as an XML document. This XML document can also be used to recreate a Device object. The following XML document shows an example Device in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:Device xmlns:core="http://xmlns.oracle.com/irm/core">
<uuid>a7352732-dcd0-43af-93c5-0cbc7c1f203d</uuid>
<name>device1</name>
<adapters>
<macAddress>01-23-45-67-89-ab</macAddress>
<ipAddresses>192.168.0.1</ipAddresses>
<ipAddresses>192.168.0.2</ipAddresses>
</adapters>
</core:Device>
Method Summary | |
---|---|
Collection<NetworkAdapter> |
getAdapters() The network adapters of the device. |
String |
getName() The name of the device. |
UUID |
getUuid() The globally unique device UUID. |
Method Detail |
---|
UUID getUuid()
getDeviceByUuid
.String getName()
Collection<NetworkAdapter> getAdapters()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |