Package org.impalaframework.service.event

Examples of org.impalaframework.service.event.ServiceRemovedEvent


        //list contains only entries actually removed, and will not be null
        final List<ServiceRegistryEntry> list = entryRegistryDelegate.evictModuleServices(moduleName);
       
        //we have new list so can use it outside synchronised block
            for (ServiceRegistryEntry serviceRegistryEntry : list) {
                ServiceRemovedEvent event = new ServiceRemovedEvent(serviceRegistryEntry);
                listenerRegistryDelegate.invokeListeners(event);
            }
       
        return list;
    }
View Full Code Here


    public boolean remove(ServiceRegistryEntry serviceRegistryEntry) {
       
        boolean removed = entryRegistryDelegate.remove(serviceRegistryEntry);
       
        if (removed) {
            ServiceRemovedEvent event = new ServiceRemovedEvent(serviceRegistryEntry);
            listenerRegistryDelegate.invokeListeners(event);
        }
           
        return removed;
    }
View Full Code Here

        //list contains only entries actually removed, and will not be null
        final List<ServiceRegistryEntry> list = entryRegistryDelegate.evictModuleServices(moduleName);
       
        //we have new list so can use it outside synchronised block
            for (ServiceRegistryEntry serviceRegistryEntry : list) {
                ServiceRemovedEvent event = new ServiceRemovedEvent(serviceRegistryEntry);
                listenerRegistryDelegate.invokeListeners(event);
            }
       
        return list;
    }
View Full Code Here

    public boolean remove(ServiceRegistryEntry serviceRegistryEntry) {
       
        boolean removed = entryRegistryDelegate.remove(serviceRegistryEntry);
       
        if (removed) {
            ServiceRemovedEvent event = new ServiceRemovedEvent(serviceRegistryEntry);
            listenerRegistryDelegate.invokeListeners(event);
        }
           
        return removed;
    }
View Full Code Here

        //list contains only entries actually removed, and will not be null
        final List<ServiceRegistryEntry> list = entryRegistryDelegate.evictModuleServices(moduleName);
       
        //we have new list so can use it outside synchronised block
            for (ServiceRegistryEntry serviceRegistryEntry : list) {
                ServiceRemovedEvent event = new ServiceRemovedEvent(serviceRegistryEntry);
                listenerRegistryDelegate.invokeListeners(event);
            }
       
        return list;
    }
View Full Code Here

    public boolean remove(ServiceRegistryEntry serviceRegistryEntry) {
       
        boolean removed = entryRegistryDelegate.remove(serviceRegistryEntry);
       
        if (removed) {
            ServiceRemovedEvent event = new ServiceRemovedEvent(serviceRegistryEntry);
            listenerRegistryDelegate.invokeListeners(event);
        }
           
        return removed;
    }
View Full Code Here

      if (logger.isDebugEnabled())
        logger.debug("Removed from service reference bean '" + beanName
            + "' contributed from module '"
            + serviceReference.getContributingModule() + "'");
     
      ServiceRemovedEvent event = new ServiceRemovedEvent(
          serviceReference);
      invokeListeners(event);
    }
  }
View Full Code Here

TOP

Related Classes of org.impalaframework.service.event.ServiceRemovedEvent

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.