xml is broken...

I created two MBean, one(A) extends ListenerServiceMBeanSupport, the other(B) 
extends NotificationBroadcaterSupport.

jboss-service.xml for A is as follows.

  
    hs.com:service=B
    
      <subscription-list> 
         
               
          
      </subscription-list>
    
  

sendNotification() is called in B as follows.
   
   public void dispatchResult(DummySession session)
   {
      System.out.println("B.dispatchResult");
      session.setEndTime(System.currentTimeMillis());
      Notification notification = new Notification("hs.result", this, 1);
      notification.setUserData(session);      
      super.sendNotification(notification);
   }

But A.handleNotification2() does not called!!
Am I doing wrong?
When I create a NotificationBroadcaster, is there any other way other than 
extending javax.management.NotificationBroadcasterSupport?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858446#3858446

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858446


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to