public class NotificationServiceImpl extends BaseServiceImpl implements NotificationListener, NotificationService
mLastUploadIdCANNED_RESPONSE, I18NBUNDLE, isRemoteConnection, remoteConnection| Constructor and Description |
|---|
NotificationServiceImpl()
Constructor - Constructs a new instance of NotificationServiceImpl
|
NotificationServiceImpl(MBeanServerConnection serverConnection)
Constructor - Constructs a new instance of NotificationServiceImpl
|
NotificationServiceImpl(MBeanServerConnection serverConnection,
boolean isRemoteConnection)
Constructor - Constructs a new instance of NotificationServiceImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationEventListener(EventNotificationListener aListener)
Add notification listener
|
void |
handleNotification(Notification notification,
Object handback)
Handle the Event Notification
|
protected void |
registerForNotifications()
Register for notifications
|
void |
removeNotificationEventListener(EventNotificationListener aListener)
Remove notification listener
|
downloadFile, removeUploadedFile, uploadFilegetAdministrationServiceMBeanObjectName, getConfigurationServiceMBeanObjectName, getDeploymentServiceMBeanObjectName, getI18NBundle, getInstallationServiceMBeanObjectName, getMBeanServerConnection, getNotificationServiceMBeanObjectName, getPerformanceMeasurementServiceMBeanObjectName, getRuntimeManagementServiceMBeanObjectName, invokeMBeanOperation, invokeMBeanOperation, isRegistered, isRemoteConnection, listTargetNames, queryNamespublic NotificationServiceImpl()
public NotificationServiceImpl(MBeanServerConnection serverConnection)
serverConnection - public NotificationServiceImpl(MBeanServerConnection serverConnection, boolean isRemoteConnection)
serverConnection - isRemoteConnection - protected void registerForNotifications()
public void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenerthe - notificationthe - handback objectNotificationListener.handleNotification(javax.management.Notification, java.lang.Object)public void addNotificationEventListener(EventNotificationListener aListener) throws ManagementRemoteException
addNotificationEventListener in interface NotificationServicean - EventNotificationListener objectManagementRemoteExceptionNotificationService.addNotificationEventListener(com.sun.esb.management.api.notification.EventNotificationListener)public void removeNotificationEventListener(EventNotificationListener aListener)
removeNotificationEventListener in interface NotificationServicean - EventNotificationListener objectNotificationService.removeNotificationEventListener(com.sun.esb.management.api.notification.EventNotificationListener)Copyright © 2011-2016 OpenESB Community. All Rights Reserved.