net.floodlightcontroller.notification
Class NotificationManagerFactory
java.lang.Object
net.floodlightcontroller.notification.NotificationManagerFactory
public class NotificationManagerFactory
- extends java.lang.Object
This factory is a public untility to get NotificationManager
instance.
- Author:
- kevinwang
Method Summary |
static
|
getNotificationManager(java.lang.Class<T> clazz)
Helper method to create a NotificationManager instance by class
with the underline factory |
static
|
getNotificationManagerFactory()
Helper method to return the factory |
protected static void |
init()
A simple mechanism to initialize factory with dynamic binding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOTIFICATION_FACTORY_NAME
public static final java.lang.String NOTIFICATION_FACTORY_NAME
- See Also:
- Constant Field Values
NotificationManagerFactory
public NotificationManagerFactory()
init
protected static void init()
- A simple mechanism to initialize factory with dynamic binding
getNotificationManager
public static <T> INotificationManager getNotificationManager(java.lang.Class<T> clazz)
- Helper method to create a NotificationManager instance by class
with the underline factory
- Parameters:
clazz
-
- Returns:
getNotificationManagerFactory
public static <T> INotificationManagerFactory getNotificationManagerFactory()
- Helper method to return the factory
- Returns:
- the INotificationManagerFactory instance