return result;
}
@SuppressWarnings("unchecked")
public ManagedNotification[] getManagedNotifications(Class clazz) {
ManagedNotifications notificationsAnn =
(ManagedNotifications)clazz.getAnnotation(ManagedNotifications.class);
ManagedNotification[] result = null;
if (null == notificationsAnn) {
return new ManagedNotification[0];
}
result = notificationsAnn.value();
return result;
}