Package org.jboss.mx.remoting.rmi

Examples of org.jboss.mx.remoting.rmi.ClientListenerHolder


      ClientListenerHolder[] holders = notificationProxy.getListeners();
      if(holders != null)
      {
         for(int x = 0; x < holders.length; x++)
         {
            ClientListenerHolder holder = holders[x];
            try
            {
               rmiServer.getMBeanServer().removeNotificationListener(holder.getObjectName(), notificationProxy, holder.getFilter(), holder.getHandback());
            }
            catch(InstanceNotFoundException e)
            {
               log.debug("Could not remove listener for target mbean " + holder.getObjectName() + " as instance is not found.");
            }
            catch(ListenerNotFoundException e)
            {
               log.debug("Could not remove listener for target mbean " + holder.getObjectName() + " as listener is not found.");
            }
         }
      }
      rmiServer.clientClosed(this);
   }
View Full Code Here

TOP

Related Classes of org.jboss.mx.remoting.rmi.ClientListenerHolder

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.