Class DeviceManagementFactory
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.DeviceManagementFactory
The DeviceManagementFactory is capable of creating the DeviceManagement.
It uses the ServiceLoader so new functionality can be added easily.
In case there are no service providers for the operations default implementations
will be used. E.g.:
- Author:
- Dennis Pidun, University of Hildesheim
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static DeviceFirmwareOperationsprivate static final de.iip_ecosphere.platform.support.logging.Loggerprivate static DeviceManagementprivate static DeviceRemoteManagementOperationsprivate static DeviceResourceConfigOperations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceManagementReturns the device management instance.protected static voidResets the device management to its default state.
-
Field Details
-
LOGGER
private static final de.iip_ecosphere.platform.support.logging.Logger LOGGER -
management
-
remoteManagementOperations
-
firmwareOperations
-
resourceConfigOperations
-
-
Constructor Details
-
DeviceManagementFactory
public DeviceManagementFactory()
-
-
Method Details
-
getDeviceManagement
Returns the device management instance.- Returns:
- the device management instance
-
resetDeviceManagement
protected static void resetDeviceManagement()Resets the device management to its default state. Used for testing only.
-