OSGi™ Service Platform
Release 4 Version 4.2

info.dmtree.registry
Class DmtServiceFactory

java.lang.Object
  extended by info.dmtree.registry.DmtServiceFactory

public final class DmtServiceFactory
extends java.lang.Object

This class is the central access point for Device Management services. Applications can use the static factory methods provided in this class to obtain access to the different Device Management related services, such as the DmtAdmin for manipulating the tree, or the Notification Service for sending notifications to management servers.

These methods are not needed in an OSGi environment, clients should retrieve the required service objects from the OSGi Service Registry.


Method Summary
static DmtAdmin getDmtAdmin()
          This method is used to obtain access to DmtAdmin, which enables applications to manipulate the Device Management Tree.
static NotificationService getNotificationService()
          This method is used to obtain access to NotificationService, which enables applications to send asynchronous notifications to management servers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDmtAdmin

public static DmtAdmin getDmtAdmin()
This method is used to obtain access to DmtAdmin, which enables applications to manipulate the Device Management Tree.

Returns:
a DmtAdmin service object

getNotificationService

public static NotificationService getNotificationService()
This method is used to obtain access to NotificationService, which enables applications to send asynchronous notifications to management servers.

Returns:
a NotificationService service object

OSGi™ Service Platform
Release 4 Version 4.2

Copyright © OSGi Alliance (2000, 2010). All Rights Reserved. Licensed under the OSGi Specification License, Version 1.0