Package org.jboss.kernel.plugins.registry

Examples of org.jboss.kernel.plugins.registry.AbstractKernelRegistryEntry


      {
         Object target = context.lookup(s.substring(JNDI_DEPENDENCY_PREFIX.length()));
         if(log.isTraceEnabled())
            log.trace("found: " + target);
         // target could be null, but if the entry exists continue.
         return new AbstractKernelRegistryEntry(name, target);
//         NamingEnumeration<NameClassPair> e = context.list(s.substring(JNDI_DEPENDENCY_PREFIX.length()));
//         if(e.hasMore())
//         {
//            Object target = e.next();
//            // target could be null, but if the entry exists continue.
View Full Code Here


   {
      // @TODO add beaninfo to registry entry?
      // KernelConfig config = kernel.getConfig();
      // BeanInfoFactory factory = config.getDefaultBeanInfoFactory();
      // BeanInfo info = factory.getBeanInfo(object.getClass());
      return new AbstractKernelRegistryEntry(object);
   }
View Full Code Here

/*    */   {
/*    */     try
/*    */     {
/* 67 */       Object target = this.context.lookup(name.toString());
/* 68 */       if (target != null)
/* 69 */         return new AbstractKernelRegistryEntry(name, target);
/*    */     }
/*    */     catch (NamingException e)
/*    */     {
/*    */     }
/* 74 */     return null;
View Full Code Here

/*     */     {
/*  88 */       Object target = this.context.lookup(s.substring("jndi:".length()));
/*  89 */       if (log.isTraceEnabled()) {
/*  90 */         log.trace("found: " + target);
/*     */       }
/*  92 */       return new AbstractKernelRegistryEntry(name, target);
/*     */     }
/*     */     catch (NameNotFoundException e)
/*     */     {
/* 104 */       log.trace("not found");
/* 105 */       return null;
View Full Code Here

   {
      try
      {
         Object target = context.lookup(name.toString());
         if (target != null)
            return new AbstractKernelRegistryEntry(name, target);
      }
      catch (NamingException e)
      {
      }
      return null;
View Full Code Here

TOP

Related Classes of org.jboss.kernel.plugins.registry.AbstractKernelRegistryEntry

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.