Package org.jboss.forge.furnace.spi

Examples of org.jboss.forge.furnace.spi.ServiceRegistry


               for (Addon addon : addonRegistry.getAddons())
               {
                  if (AddonStatus.STARTED.equals(addon.getStatus()))
                  {
                     ServiceRegistry serviceRegistry = addon.getServiceRegistry();
                     if (type != null)
                        instanceCache.addAll(serviceRegistry.getExportedInstances(type));
                     else
                        instanceCache.addAll((Collection) serviceRegistry.getExportedInstances(typeName));
                  }
               }
            }

            return instanceCache;
View Full Code Here


            Set<Class<?>> result = new HashSet<Class<?>>();
            for (Addon addon : getAddons())
            {
               if (AddonStatus.STARTED.equals(addon.getStatus()))
               {
                  ServiceRegistry serviceRegistry = addon.getServiceRegistry();
                  result.addAll(serviceRegistry.getExportedTypes());
               }
            }
            return result;
         }
      });
View Full Code Here

            Set<Class<T>> result = new HashSet<Class<T>>();
            for (Addon addon : getAddons())
            {
               if (AddonStatus.STARTED.equals(addon.getStatus()))
               {
                  ServiceRegistry serviceRegistry = addon.getServiceRegistry();
                  result.addAll(serviceRegistry.getExportedTypes(type));
               }
            }
            return result;
         }
      });
View Full Code Here

TOP

Related Classes of org.jboss.forge.furnace.spi.ServiceRegistry

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.