Examples of Notification


Examples of javax.management.Notification

         if (e instanceof InvocationTargetException)
            throw new NestedRuntimeException(error, ((InvocationTargetException) e).getCause());
         else
            throw new NestedRuntimeException(error, e);
      }
      sendNotification(new Notification(MCF_ATTRIBUTE_CHANGED_NOTIFICATION, getServiceName(),
            getNextNotificationSequenceNumber()));
   }
View Full Code Here

Examples of javax.management.Notification

                          new Object[]{},
                          new String[]{});
                  Iterator i = lNotifications.iterator();
                  while (i.hasNext())
                  {
                     Notification lNotification = (Notification) i.next();
                     mClientListener.handleNotification(lNotification,
                             mHandback);
                  }
               }
               catch (Exception e)
View Full Code Here

Examples of javax.management.Notification

         if (e instanceof InvocationTargetException)
            throw new NestedRuntimeException(error, ((InvocationTargetException) e).getCause());
         else
            throw new NestedRuntimeException(error, e);
      }
      sendNotification(new Notification(MCF_ATTRIBUTE_CHANGED_NOTIFICATION, getServiceName(),
            getNextNotificationSequenceNumber()));
   }
View Full Code Here

Examples of javax.management.Notification

            if (e instanceof InvocationTargetException)
               throw new NestedRuntimeException(error, ((InvocationTargetException) e).getCause());
            else
               throw new NestedRuntimeException(error, e);
         }
         sendNotification(new Notification(MCF_ATTRIBUTE_CHANGED_NOTIFICATION, getServiceName(),
               getNextNotificationSequenceNumber()));
      }
   }
View Full Code Here

Examples of javax.management.Notification

      data.key = key;
      data.newReplicants = newReplicants;
      data.newReplicantsViewId = newReplicantsViewId;
      String address = System.getProperty("jboss.bind.address");
      long id = nextSequence();
      Notification msg = new Notification("replicantsChanged", this, id, address);
      msg.setUserData(data);
      log.info("replicantsChanged, "+msg);
      super.sendNotification(msg);
   }
View Full Code Here

Examples of javax.management.Notification

      data.key = key;
      data.value = value;
      data.locallyModified = locallyModified;
      String address = System.getProperty("jboss.bind.address");
      long id = nextSequence();
      Notification msg = new Notification(NOTIFY_CHANGE, this, id, address);
      msg.setUserData(data);
      log.debug("valueHasChanged, "+msg);
      super.sendNotification(msg);
   }
View Full Code Here

Examples of javax.management.Notification

      data.key = key;
      data.value = previousContent;
      data.locallyModified = locallyModified;
      String address = System.getProperty("jboss.bind.address");
      long id = nextSequence();
      Notification msg = new Notification(NOTIFY_REMOVAL, this, id, address);
      msg.setUserData(data);
      log.debug("keyHasBeenRemoved, "+msg);
      super.sendNotification(msg);
   }
View Full Code Here

Examples of javax.management.Notification

   protected void stopService() throws Exception
   {
      shutdown.set(true);

      //notify the login modules the mcf is going away, they need to look it up again later.
      sendNotification(new Notification(STOPPING_NOTIFICATION, getServiceName(), getNextNotificationSequenceNumber()));
      /*
       * if (jaasSecurityManagerService != null && securityDomainJndiName != null)
         server.invoke(jaasSecurityManagerService, "flushAuthenticationCache", new Object[] { securityDomainJndiName }, new String[] { String.class.getName() });
       */
      poolingStrategy.setConnectionListenerFactory(null);
View Full Code Here

Examples of javax.management.Notification

      startAgent();
     
      log.info("SNMP agent going active");
       
      // Send the cold start!
      this.sendNotification(new Notification(EventTypes.COLDSTART, this,
                                             getNextNotificationSequenceNumber()));
   }
View Full Code Here

Examples of javax.management.Notification

   /**
    * Sends outs controller notifications about service lifecycle events
    */
   private void sendControllerNotification(String type, ObjectName serviceName)
   {
      Notification notification = new Notification(type, this, super.nextNotificationSequenceNumber());
      notification.setUserData(serviceName);
      sendNotification(notification);
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.