Examples of KernelRegistryPlugin


Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

         return new AbstractKernelRegistryEntry(name, cl.getPackage(stringName));
      }
     
      if (parent != null && parent instanceof KernelRegistryPlugin)
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) parent;
         return factory.getEntry(name);
      }
     
      return null;
   }
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

   public KernelRegistryEntry getEntry(Object name)
   {
      for (ListIterator i = factories.listIterator(); i.hasNext();)
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) i.next();
         KernelRegistryEntry entry = factory.getEntry(name);
         if (entry != null)
            return entry;
      }
      throw new KernelRegistryEntryNotFoundException("Entry not found with name: " + name);
   }
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

   public boolean containsEntry( Object name )
   {
      Iterator i = factories.iterator();
      while( i.hasNext() )
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) i.next();
         KernelRegistryEntry entry = factory.getEntry(name);
         if (entry != null)
            return true;
      }
      return false;
   }
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

      defaultFactory.registerEntry(name, entry);

      Object target = entry.getTarget();
      if (target != null && target instanceof KernelRegistryPlugin)
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) target;
         addKernelRegistryFactory(factory);
      }
     
      // TODO optional interceptor
      if (hasListeners())
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

      KernelRegistryEntry entry = defaultFactory.unregisterEntry(name);

      Object target = entry.getTarget();
      if (target != null && target instanceof KernelRegistryPlugin)
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) target;
         removeKernelRegistryFactory(factory);
      }

      // TODO optional interceptor
      if (hasListeners())
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

   public KernelRegistryEntry findEntry(Object name)
   {
      for (ListIterator<KernelRegistryPlugin> i = factories.listIterator(); i.hasNext();)
      {
         KernelRegistryPlugin factory = i.next();
         KernelRegistryEntry entry = factory.getEntry(name);
         if (entry != null)
            return entry;
      }
      return null;
   }
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

      defaultFactory.registerEntry(name, entry);

      Object target = entry.getTarget();
      if (target != null && target instanceof KernelRegistryPlugin)
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) target;
         addKernelRegistryFactory(factory);
      }
     
      if (hasListeners())
      {
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

      KernelRegistryEntry entry = defaultFactory.unregisterEntry(name);

      Object target = entry.getTarget();
      if (target != null && target instanceof KernelRegistryPlugin)
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) target;
         removeKernelRegistryFactory(factory);
      }

      if (hasListeners())
      {
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

      defaultFactory.registerEntry(name, entry);

      Object target = entry.getTarget();
      if (target != null && target instanceof KernelRegistryPlugin)
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) target;
         addKernelRegistryFactory(factory);
      }
     
      if (hasListeners())
      {
View Full Code Here

Examples of org.jboss.kernel.spi.registry.KernelRegistryPlugin

      KernelRegistryEntry entry = defaultFactory.unregisterEntry(name);

      Object target = entry.getTarget();
      if (target != null && target instanceof KernelRegistryPlugin)
      {
         KernelRegistryPlugin factory = (KernelRegistryPlugin) target;
         removeKernelRegistryFactory(factory);
      }

      if (hasListeners())
      {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.