Exemplo n.º 1
0
        public ObjectName PreRegister(IMBeanServer server, ObjectName name)
        {
            ObjectName newName = name;

            if (_registration != null)
            {
                newName = _registration.PreRegister(server, name);
            }
            _objectName = newName;
            if (_notifEmitter == null)
            {
                _notificationSupport = new NotificationEmitterSupport();
                _notificationSupport.Initialize(newName.ToString(), _info.Notifications);
                _notifEmitter = _notificationSupport;
                AttachNotifications();
            }
            return(newName);
        }
Exemplo n.º 2
0
 public SimpleNotificationHandler(NotificationEmitterSupport support, string notifType)
 {
     _support = support;
     _notifType = notifType;
 }
Exemplo n.º 3
0
 public ObjectName PreRegister(IMBeanServer server, ObjectName name)
 {
     ObjectName newName = name;
      if (_registration != null)
      {
     newName = _registration.PreRegister(server, name);
      }
      _objectName = newName;
      if (_notifEmitter == null)
      {
     _notificationSupport = new NotificationEmitterSupport();
     _notificationSupport.Initialize(newName.ToString(), _info.Notifications);
     _notifEmitter = _notificationSupport;
     AttachNotifications();
      }
      return newName;
 }
Exemplo n.º 4
0
 public SimpleNotificationHandler(NotificationEmitterSupport support, string notifType)
 {
     _support   = support;
     _notifType = notifType;
 }