Package javax.management

Examples of javax.management.MBeanNotificationInfo


     */
    public MBeanNotificationInfo[] getNotificationInfo() {
     
      if(notificationInfo == null) {
        notificationInfo = new MBeanNotificationInfo[]{
            new MBeanNotificationInfo(new String[] {
            "j2ee.object.created"},
          Notification.class.getName(),
          "servlet is created"
            ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.starting"},
          Notification.class.getName(),
          "servlet is starting"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.running"},
          Notification.class.getName(),
          "servlet is running"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.stopped"},
          Notification.class.getName(),
          "servlet start to stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.stopped"},
          Notification.class.getName(),
          "servlet is stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.deleted"},
          Notification.class.getName(),
          "servlet is deleted"
          )
        };
View Full Code Here


     */
    public MBeanNotificationInfo[] getNotificationInfo() {
      // FIXME: i18n
      if(notificationInfo == null) {
        notificationInfo = new MBeanNotificationInfo[]{
            new MBeanNotificationInfo(new String[] {
            "j2ee.object.created"},
          Notification.class.getName(),
          "web application is created"
            ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.starting"},
          Notification.class.getName(),
          "change web application is starting"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.running"},
          Notification.class.getName(),
          "web application is running"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.stopped"},
          Notification.class.getName(),
          "web application start to stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.stopped"},
          Notification.class.getName(),
          "web application is stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.deleted"},
          Notification.class.getName(),
          "web application is deleted"
          )
        };
View Full Code Here

     */
    public MBeanNotificationInfo[] getNotificationInfo() {
      // FIXME: i18n
      if(notificationInfo == null) {
        notificationInfo = new MBeanNotificationInfo[]{
            new MBeanNotificationInfo(new String[] {
            "j2ee.object.created"},
          Notification.class.getName(),
          "web application is created"
            ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.starting"},
          Notification.class.getName(),
          "change web application is starting"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.running"},
          Notification.class.getName(),
          "web application is running"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.stopped"},
          Notification.class.getName(),
          "web application start to stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.stopped"},
          Notification.class.getName(),
          "web application is stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.deleted"},
          Notification.class.getName(),
          "web application is deleted"
          )
        };
View Full Code Here

     * notifications sent by this MBean.
     */
    public MBeanNotificationInfo[] getNotificationInfo() {

        // Acquire the set of application notifications
        MBeanNotificationInfo current[] = info.getNotifications();
        if (current == null)
            current = new MBeanNotificationInfo[0];
        MBeanNotificationInfo response[] =
            new MBeanNotificationInfo[current.length + 2];
        Descriptor descriptor = null;

        // Fill in entry for general notifications
        descriptor = new DescriptorSupport
View Full Code Here

     */
    public MBeanNotificationInfo[] getNotificationInfo() {
      // FIXME: i18n
      if(notificationInfo == null) {
        notificationInfo = new MBeanNotificationInfo[]{
            new MBeanNotificationInfo(new String[] {
            "j2ee.object.created"},
          Notification.class.getName(),
          "web application is created"
            ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.starting"},
          Notification.class.getName(),
          "change web application is starting"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.running"},
          Notification.class.getName(),
          "web application is running"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.stopping"},
          Notification.class.getName(),
          "web application start to stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.stopped"},
          Notification.class.getName(),
          "web application is stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.deleted"},
          Notification.class.getName(),
          "web application is deleted"
          )
        };
View Full Code Here

                  CacheNotificationBroadcaster.NOTIF_NODE_REMOVED,
                  CacheNotificationBroadcaster.NOTIF_NODE_VISITED,
                  CacheNotificationBroadcaster.NOTIF_VIEW_CHANGED,
            };

      MBeanNotificationInfo info = new MBeanNotificationInfo(types, NOTIFICATION_NAME, NOTIFICATION_DESCR);
      return new MBeanNotificationInfo[]{info};
   }
View Full Code Here

      String[] names = new String[values.length];
      for (int i = 0; i < values.length; i++)
      {
         names[i] = values[i].toString();
      }
      return new MBeanNotificationInfo[]{new MBeanNotificationInfo(names,
                                                                   JMSServerControl.class.getName(),
                                                                   "Notifications emitted by a JMS Server")};
   }
View Full Code Here

     */
    public MBeanNotificationInfo[] getNotificationInfo() {
      // FIXME: i18n
      if(notificationInfo == null) {
        notificationInfo = new MBeanNotificationInfo[]{
            new MBeanNotificationInfo(new String[] {
            "j2ee.object.created"},
          Notification.class.getName(),
          "web application is created"
            ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.starting"},
          Notification.class.getName(),
          "change web application is starting"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.running"},
          Notification.class.getName(),
          "web application is running"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.state.stopped"},
          Notification.class.getName(),
          "web application start to stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.stopped"},
          Notification.class.getName(),
          "web application is stopped"
          ),
          new MBeanNotificationInfo(new String[] {
          "j2ee.object.deleted"},
          Notification.class.getName(),
          "web application is deleted"
          )
        };
View Full Code Here

     * notifications sent by this MBean.
     */
    public MBeanNotificationInfo[] getNotificationInfo() {

        // Acquire the set of application notifications
        MBeanNotificationInfo current[] = info.getNotifications();
        if (current == null)
            current = new MBeanNotificationInfo[0];
        MBeanNotificationInfo response[] =
            new MBeanNotificationInfo[current.length + 2];
        Descriptor descriptor = null;

        // Fill in entry for general notifications
        descriptor = new DescriptorSupport
View Full Code Here

    @Override
    public MBeanNotificationInfo[] getNotificationInfo() {
        // FIXME: i18n
        if(notificationInfo == null) {
            notificationInfo = new MBeanNotificationInfo[]{
                    new MBeanNotificationInfo(new String[] {
                    "j2ee.object.created"},
                    Notification.class.getName(),
                    "web application is created"
                    ),
                    new MBeanNotificationInfo(new String[] {
                    "j2ee.state.starting"},
                    Notification.class.getName(),
                    "change web application is starting"
                    ),
                    new MBeanNotificationInfo(new String[] {
                    "j2ee.state.running"},
                    Notification.class.getName(),
                    "web application is running"
                    ),
                    new MBeanNotificationInfo(new String[] {
                    "j2ee.state.stopping"},
                    Notification.class.getName(),
                    "web application start to stopped"
                    ),
                    new MBeanNotificationInfo(new String[] {
                    "j2ee.object.stopped"},
                    Notification.class.getName(),
                    "web application is stopped"
                    ),
                    new MBeanNotificationInfo(new String[] {
                    "j2ee.object.deleted"},
                    Notification.class.getName(),
                    "web application is deleted"
                    )
            };
View Full Code Here

TOP

Related Classes of javax.management.MBeanNotificationInfo

Copyright © 2018 www.massapicom. 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.