• Icon: Sub-task Sub-task
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • None
    • Naming
    • None

      The embeddable JNDI service should be subclass of org.jnp.NamingServer
      like the following prototype in the aspects tests:
      /*

      • JBoss, the OpenSource J2EE webOS
        *
      • Distributable under LGPL license.
      • See terms of license at gnu.org.
        */
        package org.jboss.test.aspects.microcontainer.support.pojo;

      import javax.naming.NamingException;

      import org.jnp.interfaces.NamingContext;
      import org.jnp.server.NamingServer;

      /**

      • POJO NamingServer
        *
      • @author <a href="mailto:adrian@jboss.org">Adrian Brock</a>
      • @version $Revision: 1.1 $
        */
        public class POJONamingServer extends NamingServer
        {
        /** The serialVersionUID */
        private static final long serialVersionUID = 3832907641310425907L;

      public POJONamingServer() throws NamingException

      { NamingContext.setLocal(this); }

      }

              Unassigned Unassigned
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: