use of org.apache.cxf.management.annotation.ManagedNotifications in project cxf by apache.
the class ModelMBeanAssembler method getManagedNotifications.
public ManagedNotification[] getManagedNotifications(Class<?> clazz) {
ManagedNotifications notificationsAnn = clazz.getAnnotation(ManagedNotifications.class);
ManagedNotification[] result = null;
if (null == notificationsAnn) {
return new ManagedNotification[0];
}
result = notificationsAnn.value();
return result;
}
Aggregations