Package org.jboss.kernel.spi.registry

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


   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

   public KernelRegistryEntry getEntry(Object name)
   {
      for (ListIterator<KernelRegistryPlugin> i = factories.listIterator(); i.hasNext();)
      {
         KernelRegistryPlugin factory = 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

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

/* 55 */     this.defaultFactory.registerEntry(name, entry);
/*    */
/* 57 */     Object target = entry.getTarget();
/* 58 */     if ((target != null) && ((target instanceof KernelRegistryPlugin)))
/*    */     {
/* 60 */       KernelRegistryPlugin factory = (KernelRegistryPlugin)target;
/* 61 */       addKernelRegistryFactory(factory);
/*    */     }
/*    */
/* 64 */     if (hasListeners())
/*    */     {
View Full Code Here

/* 75 */     KernelRegistryEntry entry = this.defaultFactory.unregisterEntry(name);
/*    */
/* 77 */     Object target = entry.getTarget();
/* 78 */     if ((target != null) && ((target instanceof KernelRegistryPlugin)))
/*    */     {
/* 80 */       KernelRegistryPlugin factory = (KernelRegistryPlugin)target;
/* 81 */       removeKernelRegistryFactory(factory);
/*    */     }
/*    */
/* 84 */     if (hasListeners())
/*    */     {
View Full Code Here

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

/*     */   public boolean containsEntry(Object name)
/*     */   {
/*  94 */     Iterator i = this.factories.iterator();
/*  95 */     while (i.hasNext())
/*     */     {
/*  97 */       KernelRegistryPlugin factory = (KernelRegistryPlugin)i.next();
/*  98 */       KernelRegistryEntry entry = factory.getEntry(name);
/*  99 */       if (entry != null)
/* 100 */         return true;
/*     */     }
/* 102 */     return false;
/*     */   }
View Full Code Here

   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

   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

TOP

Related Classes of org.jboss.kernel.spi.registry.KernelRegistryPlugin

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.